{"id":"CVE-2023-1672","aliases":["ALSA-2023:6492","ALSA-2023:7022","AZL-27405","DEBIAN-CVE-2023-1672","DLA-3648-1","EUVD-2023-23900","GHSA-9wgp-4vcq-75qr","OESA-2023-1403","RHSA-2023:6492","RHSA-2023:7022","RLSA-2023:7022","UBUNTU-CVE-2023-1672","USN-6489-1"],"status":"published","title":"Race condition exists in the key generation and rotation functionality","description":"A race condition exists in the Tang server functionality for key generation and key rotation. This flaw results in a small time window where Tang private keys become readable by other processes on the same host.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00568,"percentile":0.47338,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-362"],"published":"2023-07-08T11:05:52Z","modified":"2026-11-05T12:30:02Z","fixes":[{"ecosystem":"AlmaLinux:9","package":"tang","fixed_in":["14-2.el9"],"sources":["osv"]},{"ecosystem":"AlmaLinux:8","package":"tang","fixed_in":["7-8.el8"],"sources":["osv"]},{"ecosystem":"Azure Linux:2","package":"tang","fixed_in":["14-1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"tang","fixed_in":["11-2+deb12u1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"tang","fixed_in":["14-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"tang","fixed_in":["14-1"],"sources":["osv"]},{"ecosystem":"Debian:10","package":"tang","fixed_in":["7-1+deb10u2"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS-SP1","package":"tang","fixed_in":["7-4.oe1"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS-SP3","package":"tang","fixed_in":["7-4.oe1"],"sources":["osv"]},{"ecosystem":"openEuler:22.03-LTS","package":"tang","fixed_in":["7-3.oe2203sp2"],"sources":["osv"]},{"ecosystem":"openEuler:22.03-LTS-SP1","package":"tang","fixed_in":["7-3.oe2203sp1"],"sources":["osv"]},{"ecosystem":"openEuler:22.03-LTS-SP2","package":"tang","fixed_in":["7-3.oe2203sp2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","package":"tang","fixed_in":["0:14-2.el9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","package":"tang-debuginfo","fixed_in":["0:14-2.el9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","package":"tang-debugsource","fixed_in":["0:14-2.el9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"tang","fixed_in":["0:7-8.el8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"tang-debuginfo","fixed_in":["0:7-8.el8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"tang-debugsource","fixed_in":["0:7-8.el8"],"sources":["osv"]},{"ecosystem":"Rocky Linux:8","package":"tang","fixed_in":["0:7-8.el8"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"tang","fixed_in":["6-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"tang","fixed_in":["7-1ubuntu0.2"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"tang","fixed_in":["11-1ubuntu0.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"AlmaLinux:9","package":"tang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14-2.el9"}]}]},{"source":"osv","ecosystem":"AlmaLinux:8","package":"tang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7-8.el8"}]}]},{"source":"osv","ecosystem":"Azure Linux:2","package":"tang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14-1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"tang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"11-2+deb12u1"}]}],"versions":["11-2"]},{"source":"osv","ecosystem":"Debian:13","package":"tang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"tang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14-1"}]}]},{"source":"osv","ecosystem":"Debian:10","package":"tang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7-1+deb10u2"}]}],"versions":["7-1","7-1+deb10u1"]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP1","package":"tang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7-4.oe1"}]}]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP3","package":"tang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7-4.oe1"}]}]},{"source":"osv","ecosystem":"openEuler:22.03-LTS","package":"tang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7-3.oe2203sp2"}]}]},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP1","package":"tang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7-3.oe2203sp1"}]}]},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP2","package":"tang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7-3.oe2203sp2"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:9::appstream","package":"tang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:14-2.el9"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:9::appstream","package":"tang-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:14-2.el9"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:9::appstream","package":"tang-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:14-2.el9"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"tang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7-8.el8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"tang-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7-8.el8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"tang-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7-8.el8"}]}]},{"source":"osv","ecosystem":"Rocky Linux:8","package":"tang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7-8.el8"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"tang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6-1ubuntu0.1~esm1"}]}],"versions":["6-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"tang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7-1ubuntu0.2"}]}],"versions":["7-1build1","7-1ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"tang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"11-1ubuntu0.1"}]}],"versions":["8-3","10-3","10-4","11-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"tang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6-1ubuntu0.1~esm1"}]}],"versions":["6-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"tang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7-1ubuntu0.2"}]}],"versions":["7-1build1","7-1ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"tang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"11-1ubuntu0.1"}]}],"versions":["8-3","10-3","10-4","11-1"]}],"products":[{"vendor":"fedora","product":"fedora"},{"vendor":"fedoraproject","product":"fedora"},{"vendor":"red hat","product":"red hat enterprise linux 7"},{"vendor":"red hat","product":"red hat enterprise linux 8"},{"vendor":"red hat","product":"red hat enterprise linux 9"},{"vendor":"redhat","product":"enterprise_linux"},{"vendor":"tang_project","product":"tang"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2023-1672","tags":["vdb-entry","x_refsource_REDHAT","x_transferred","Third Party Advisory","report","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2180999","tags":["issue-tracking","x_refsource_REDHAT","x_transferred","Issue Tracking","Patch","Third Party Advisory","report"]},{"url":"https://github.com/latchset/tang/commit/8dbbed10870378f1b2c3cf3df2ea7edca7617096","tags":["x_transferred","Patch","fix","article"]},{"url":"https://www.openwall.com/lists/oss-security/2023/06/15/1","tags":["x_transferred","Exploit","Mailing List","Third Party Advisory","web","article"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/11/msg00004.html","tags":["x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-1672","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-9wgp-4vcq-75qr"},{"url":"https://access.redhat.com/errata/RHSA-2023:6492","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/2180999","tags":["report"]},{"url":"https://errata.almalinux.org/9/ALSA-2023-6492.html","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2023:7022","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/2188743","tags":["report"]},{"url":"https://errata.almalinux.org/8/ALSA-2023-7022.html","tags":["advisory"]},{"url":"https://access.redhat.com/downloads/content/package-browser/","tags":["web"]},{"url":"https://packages.fedoraproject.org/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/1xxx/CVE-2023-1672.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-1672","tags":["advisory"]},{"url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1403","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/9/html/9.3_release_notes/index","tags":["article"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_6492.json","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-1672","tags":["advisory","report"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.9_release_notes/index","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2188743","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_7022.json","tags":["advisory"]},{"url":"https://errata.rockylinux.org/RLSA-2023:7022","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-1672","tags":["report"]},{"url":"https://seclists.org/oss-sec/2023/q2/231","tags":["report"]},{"url":"https://github.com/latchset/tang/pull/123/commits/05b12d14f7945b898235558af0bbaa43c582ccdd","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-6489-1","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2023-1672","title":"Race condition exists in the key generation and rotation functionality","description":"A race condition exists in the Tang server functionality for key generation and key rotation. This flaw results in a small time window where Tang private keys become readable by other processes on the same host.","status":"published","published":"2023-07-11T11:47:35.363Z","modified":"2025-02-13T16:39:29.669Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T14:35:32.376766Z"}],"euvd":[{"id":"EUVD-2023-23900","description":"A race condition exists in the Tang server functionality for key generation and key rotation. This flaw results in a small time window where Tang private keys become readable by other processes on the same host.","status":"published","published":"2023-07-11T11:47:35Z","modified":"2025-02-13T16:39:29Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-03T00:03:51.861062Z"}],"ghsa":[{"id":"GHSA-9wgp-4vcq-75qr","title":"A race condition exists in the Tang server functionality for key generation and key rotation....","description":"A race condition exists in the Tang server functionality for key generation and key rotation. This flaw results in a small time window where Tang private keys become readable by other processes on the same host.","status":"published","published":"2023-07-11T12:30:36Z","modified":"2023-11-16T05:05:10Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T14:55:03.407736Z"}],"nvd":[{"id":"CVE-2023-1672","description":"A race condition exists in the Tang server functionality for key generation and key rotation. This flaw results in a small time window where Tang private keys become readable by other processes on the same host.","status":"published","published":"2023-07-11T12:15:09.52Z","modified":"2026-06-17T05:28:29.497Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T14:08:15.127597Z"}],"osv":[{"id":"AZL-27405","title":"CVE-2023-1672 affecting package tang for versions less than 14-1","description":"A race condition exists in the Tang server functionality for key generation and key rotation. This flaw results in a small time window where Tang private keys become readable by other processes on the same host.","status":"published","published":"2023-07-11T12:15:09Z","modified":"2026-04-21T04:24:16.614188Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:28:03.093433Z"},{"id":"CVE-2023-1672","title":"Race condition exists in the key generation and rotation functionality","description":"A race condition exists in the Tang server functionality for key generation and key rotation. This flaw results in a small time window where Tang private keys become readable by other processes on the same host.","status":"published","published":"2023-07-11T11:47:35.363Z","modified":"2026-10-28T10:31:45.329338553Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T15:44:30.334753Z"},{"id":"DEBIAN-CVE-2023-1672","description":"A race condition exists in the Tang server functionality for key generation and key rotation. This flaw results in a small time window where Tang private keys become readable by other processes on the same host.","status":"published","published":"2023-07-11T12:15:09.52Z","modified":"2026-10-26T18:01:19.869092097Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:39.369204Z"},{"id":"OESA-2023-1403","title":"tang security update","description":"This package is a server for binding data to network presence. First, the client gets a list of the Tang server\u0026apos;s advertised asymmetric keys. This can happen online by a simple HTTP GET. Alternatively, since the keys are asymmetric, the public key list can be distributed out of band. Second, the client uses one of these public keys to generate a unique, cryptographically strong encryption key. The data is then encrypted using this key. Once the data is encrypted, the key is discarded. Some small metadata is produced as part of this operation which the client should store in a convenient location. This process of encrypting data is the provisioning step. Third, when the client is ready to access its data, it simply loads the metadata produced in the provisioning step and performs an HTTP POST in order to recover the encryption key. This process is the recovery step.\n\nSecurity Fix(es):\n\nA race condition exists in the Tang server functionality for key generation and key rotation. This flaw results in a small time window where Tang private keys become readable by other processes on the same host.(CVE-2023-1672)","status":"published","published":"2023-07-08T11:05:52Z","modified":"2026-08-18T01:17:45.183659037Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:52:40.328856Z"},{"id":"RHSA-2023:6492","title":"Red Hat Security Advisory: tang security update","status":"published","published":"2024-09-16T12:23:04Z","modified":"2025-11-22T12:59:08Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:53:11.734882Z"},{"id":"RHSA-2023:7022","title":"Red Hat Security Advisory: tang security and bug fix update","status":"published","published":"2024-09-16T12:23:14Z","modified":"2025-11-22T13:00:28Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:53:11.734882Z"},{"id":"RLSA-2023:7022","title":"Moderate: tang security and bug fix update","description":"Tang is a server for binding data to network presence. It includes a daemon which provides cryptographic operations for binding to a remote service. The tang package provides the server side of the Network Bound Disk Encryption (NBDE) project.\n\nSecurity Fix(es):\n\n* tang: Race condition exists in the key generation and rotation functionality (CVE-2023-1672)\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.9 Release Notes linked from the References section.","status":"published","published":"2026-11-05T12:01:16.353804Z","modified":"2026-11-05T12:30:02.292887801Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-05T13:30:00.949926Z"},{"id":"UBUNTU-CVE-2023-1672","description":"A race condition exists in the Tang server functionality for key generation and key rotation. This flaw results in a small time window where Tang private keys become readable by other processes on the same host.","status":"published","published":"2023-07-11T12:15:00Z","modified":"2026-02-04T04:17:10.287155Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T16:54:18.756095Z"},{"id":"ALSA-2023:6492","title":"Moderate: tang security update","description":"Tang is a server for binding data to network presence. It includes a daemon which provides cryptographic operations for binding to a remote service. The tang package provides the server side of the Network Bound Disk Encryption (NBDE) project.\n\nSecurity Fix(es):\n\n* tang: Race condition exists in the key generation and rotation functionality (CVE-2023-1672)\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":"2023-11-07T00:00:00Z","modified":"2026-10-29T11:31:33.931454923Z","updated_at":"2026-11-02T15:27:52.091404Z"},{"id":"ALSA-2023:7022","title":"Moderate: tang security and bug fix update","description":"Tang is a server for binding data to network presence. It includes a daemon which provides cryptographic operations for binding to a remote service. The tang package provides the server side of the Network Bound Disk Encryption (NBDE) project.\n\nSecurity Fix(es):\n\n* tang: Race condition exists in the key generation and rotation functionality (CVE-2023-1672)\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":"2023-11-14T00:00:00Z","modified":"2026-11-05T12:15:06.887719543Z","updated_at":"2026-11-05T13:30:00.949926Z"},{"id":"DLA-3648-1","title":"tang - security update","status":"published","published":"2023-11-07T00:00:00Z","modified":"2026-03-09T01:21:49.165937Z","updated_at":"2026-11-02T15:46:12.203458Z"},{"id":"USN-6489-1","title":"tang vulnerability","description":"Brian McDermott discovered that Tang incorrectly handled permissions when\ncreating/rotating keys. A local attacker could possibly use this issue to\nread the keys.\n","status":"published","published":"2023-11-20T16:04:07Z","modified":"2026-02-10T04:43:25Z","updated_at":"2026-11-02T16:58:17.305935Z"}]}}
