{"id":"CVE-2020-24331","aliases":["ALSA-2021:1627","AZL-6926","DEBIAN-CVE-2020-24331","EUVD-2020-17065","GHSA-92g6-rx66-6q4j","MGASA-2021-0297","RHSA-2021:1627","RLSA-2021:1627","UBUNTU-CVE-2020-24331"],"status":"published","title":"An issue was discovered in TrouSerS through 0.3.14. If the tcsd daemon is started with root...","description":"An issue was discovered in TrouSerS through 0.3.14. If the tcsd daemon is started with root privileges, the tss user still has read and write access to the /etc/tcsd.conf file (which contains various settings related to this daemon).","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.00486,"percentile":0.42127,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-269","CWE-732"],"published":"2020-08-13T16:19:02Z","modified":"2026-10-29T11:00:16Z","fixes":[{"ecosystem":"Azure Linux:2","package":"trousers","fixed_in":["0.3.14-7"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"trousers","fixed_in":["0.3.15-0.1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"trousers","fixed_in":["0.3.15-0.1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"trousers","fixed_in":["0.3.15-0.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"AlmaLinux:8","package":"trousers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.15-1.el8"}]}],"bundled":3},{"source":"osv","ecosystem":"AlmaLinux:8","package":"trousers-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.15-1.el8"}]}],"bundled":3},{"source":"osv","ecosystem":"AlmaLinux:8","package":"trousers-lib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.15-1.el8"}]}],"bundled":3},{"source":"osv","ecosystem":"Azure Linux:2","package":"trousers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.14-7"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"trousers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.15-0.1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"trousers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.15-0.1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"trousers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.15-0.1"}]}]},{"source":"osv","ecosystem":"Mageia:7","package":"trousers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.14-4.2.mga7"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"trousers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.3.15-1.el8"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"trousers-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.3.15-1.el8"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"trousers-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.3.15-1.el8"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"trousers-lib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.3.15-1.el8"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"trousers-lib-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.3.15-1.el8"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::crb","package":"trousers-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.3.15-1.el8"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::crb","package":"trousers-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.3.15-1.el8"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::crb","package":"trousers-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.3.15-1.el8"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::crb","package":"trousers-lib-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.3.15-1.el8"}]}],"bundled":3},{"source":"osv","ecosystem":"Rocky Linux:8","package":"trousers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.3.15-1.el8"}]}],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"trousers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.13-4"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"trousers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.14+fixed1-1","0.3.14+fixed1-1build1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"trousers","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.14+fixed1-1build1"]}],"products":[{"vendor":"fedoraproject","product":"fedora"},{"vendor":"trousers_project","product":"trousers"}],"references":[{"url":"https://sourceforge.net/p/trousers/mailman/message/37015817/","tags":["x_refsource_MISC","x_transferred","Exploit","Mailing List","Third Party Advisory","evidence","report"]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1164472","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://seclists.org/oss-sec/2020/q2/att-135/tcsd_fixes.patch","tags":["x_refsource_MISC","x_transferred","Mailing List","Patch","Third Party Advisory","fix","report"]},{"url":"http://www.openwall.com/lists/oss-security/2020/08/14/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","Exploit","Mailing List","Third Party Advisory","evidence","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SSDL7COIFCZQMUBNAASNMKMX7W5JUHRD/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-24331","tags":["web","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SSDL7COIFCZQMUBNAASNMKMX7W5JUHRD/"},{"url":"https://github.com/advisories/GHSA-92g6-rx66-6q4j"},{"url":"https://errata.almalinux.org/8/ALSA-2021-1627.html","tags":["advisory"]},{"url":"https://vulners.com/cve/CVE-2020-24330","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2020-24331","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2020-24332","tags":["report"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-24331","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2021-0297.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=26658","tags":["report"]},{"url":"https://www.openwall.com/lists/oss-security/2020/08/14/1","tags":["web","article"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/SSDL7COIFCZQMUBNAASNMKMX7W5JUHRD/","tags":["web"]},{"url":"https://access.redhat.com/errata/RHSA-2021:1627","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.4_release_notes/","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1870052","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1870054","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1870056","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_1627.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-24330","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-24330","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-24330","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-24331","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-24331","tags":["advisory","report"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-24332","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-24332","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-24332","tags":["advisory"]},{"url":"https://errata.rockylinux.org/RLSA-2021:1627","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-24331","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-24331","description":"An issue was discovered in TrouSerS through 0.3.14. If the tcsd daemon is started with root privileges, the tss user still has read and write access to the /etc/tcsd.conf file (which contains various settings related to this daemon).","status":"published","published":"2020-08-13T16:19:02Z","modified":"2024-08-04T15:12:08.812Z","updated_at":"2026-11-02T14:35:54.170199Z"}],"euvd":[{"id":"EUVD-2020-17065","description":"An issue was discovered in TrouSerS through 0.3.14. If the tcsd daemon is started with root privileges, the tss user still has read and write access to the /etc/tcsd.conf file (which contains various settings related to this daemon).","status":"published","published":"2020-08-13T16:19:02Z","modified":"2024-08-04T15:12:08Z","updated_at":"2026-11-03T03:07:20.249898Z"}],"ghsa":[{"id":"GHSA-92g6-rx66-6q4j","title":"An issue was discovered in TrouSerS through 0.3.14. If the tcsd daemon is started with root...","description":"An issue was discovered in TrouSerS through 0.3.14. If the tcsd daemon is started with root privileges, the tss user still has read and write access to the /etc/tcsd.conf file (which contains various settings related to this daemon).","status":"published","published":"2022-05-24T17:25:35Z","modified":"2023-01-29T05:03:43Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-269","CWE-732"],"updated_at":"2026-11-02T14:45:23.223768Z"}],"nvd":[{"id":"CVE-2020-24331","description":"An issue was discovered in TrouSerS through 0.3.14. If the tcsd daemon is started with root privileges, the tss user still has read and write access to the /etc/tcsd.conf file (which contains various settings related to this daemon).","status":"published","published":"2020-08-13T17:15:13.533Z","modified":"2026-06-17T03:05:22.933Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T14:06:13.05572Z"}],"osv":[{"id":"AZL-6926","title":"CVE-2020-24331 affecting package trousers for versions less than 0.3.14-7","description":"An issue was discovered in TrouSerS through 0.3.14. If the tcsd daemon is started with root privileges, the tss user still has read and write access to the /etc/tcsd.conf file (which contains various settings related to this daemon).","status":"published","published":"2020-08-13T17:15:13Z","modified":"2026-04-21T04:38:33.713925Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:28:08.630357Z"},{"id":"CVE-2020-24331","description":"An issue was discovered in TrouSerS through 0.3.14. If the tcsd daemon is started with root privileges, the tss user still has read and write access to the /etc/tcsd.conf file (which contains various settings related to this daemon).","status":"published","published":"2020-08-13T17:15:13.533Z","modified":"2026-04-16T04:32:34.130797305Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:15.879068Z"},{"id":"DEBIAN-CVE-2020-24331","description":"An issue was discovered in TrouSerS through 0.3.14. If the tcsd daemon is started with root privileges, the tss user still has read and write access to the /etc/tcsd.conf file (which contains various settings related to this daemon).","status":"published","published":"2020-08-13T17:15:13.533Z","modified":"2026-10-26T12:02:30.619545191Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:33.729655Z"},{"id":"RHSA-2021:1627","title":"Red Hat Security Advisory: trousers security, bug fix, and enhancement update","status":"published","published":"2024-09-16T05:03:01Z","modified":"2026-06-27T10:13:27Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:08.071325Z"},{"id":"RLSA-2021:1627","title":"Moderate: trousers security, bug fix, and enhancement update","description":"TrouSerS is an implementation of the Trusted Computing Group's Software Stack (TSS) specification. TrouSerS enables the user to write applications that make use of the Trusted Platform Module (TPM) hardware.\n\nThe following packages have been upgraded to a later upstream version: trousers (0.3.15). (BZ#1725782)\n\nSecurity Fix(es):\n\n* trousers: tss user still has read and write access to the /etc/tcsd.conf file if tcsd is started as root (CVE-2020-24331)\n\n* trousers: tss user can be used to create or corrupt existing files, this could lead to DoS (CVE-2020-24332)\n\n* trousers: fails to drop the root gid privilege when no longer needed (CVE-2020-24330)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the Rocky Linux 8.4 Release Notes linked from the References section.","status":"published","published":"2021-05-18T05:41:50Z","modified":"2026-02-04T18:00:05.79984Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:23.969672Z"},{"id":"UBUNTU-CVE-2020-24331","description":"An issue was discovered in TrouSerS through 0.3.14. If the tcsd daemon is started with root privileges, the tss user still has read and write access to the /etc/tcsd.conf file (which contains various settings related to this daemon).","status":"published","published":"2020-08-13T17:15:00Z","modified":"2026-04-22T12:35:00.736039Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:23.905183Z"},{"id":"ALSA-2021:1627","title":"Moderate: trousers security, bug fix, and enhancement update","description":"TrouSerS is an implementation of the Trusted Computing Group's Software Stack (TSS) specification. TrouSerS enables the user to write applications that make use of the Trusted Platform Module (TPM) hardware.\n\nThe following packages have been upgraded to a later upstream version: trousers (0.3.15). (BZ#1725782)\n\nSecurity Fix(es):\n\n* trousers: tss user still has read and write access to the /etc/tcsd.conf file if tcsd is started as root (CVE-2020-24331)\n\n* trousers: tss user can be used to create or corrupt existing files, this could lead to DoS (CVE-2020-24332)\n\n* trousers: fails to drop the root gid privilege when no longer needed (CVE-2020-24330)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.","status":"published","published":"2021-05-18T05:41:50Z","modified":"2026-10-29T11:00:16.139541003Z","updated_at":"2026-11-02T15:27:51.196609Z"},{"id":"MGASA-2021-0297","title":"Updated trousers packages fix security vulnerabilities","description":"An issue was discovered in TrouSerS through 0.3.14. If the tcsd daemon is \nstarted with root privileges instead of by the tss user, it fails to drop the\nroot gid privilege when no longer needed (CVE-2020-24330).\n\nAn issue was discovered in TrouSerS through 0.3.14. If the tcsd daemon is started\nwith root privileges, the tss user still has read and write access to the\n/etc/tcsd.conf file (which contains various settings related to this daemon)\n(CVE-2020-24331).\n\nAn issue was discovered in TrouSerS through 0.3.14. If the tcsd daemon is\nstarted with root privileges, the creation of the system.data file is prone to\nsymlink attacks. The tss user can be used to create or corrupt existing files,\nwhich could possibly lead to a DoS attack (CVE-2020-24332).\n","status":"published","published":"2021-06-28T22:51:23Z","modified":"2026-04-16T04:44:15.933502029Z","updated_at":"2026-11-02T15:49:41.509337Z"}]}}
