{"schemaVersion":3,"id":"CVE-2023-42811","aliases":["SUSE-SU-2023:4060-1","openSUSE-SU-2024:13315-1","GHSA-423w-p2w9-r7vq","RUSTSEC-2023-0096"],"status":"published","duplicateOf":null,"title":null,"description":"aes-gcm is a pure Rust implementation of the AES-GCM. Starting in version 0.10.0 and prior to version 0.10.3, in the AES GCM implementation of decrypt_in_place_detached, the decrypted ciphertext (i.e. the correct plaintext) is exposed even if tag verification fails. If a program using the `aes-gcm` crate's `decrypt_in_place*` APIs accesses the buffer after decryption failure, it will contain a decryption of an unauthenticated input. Depending on the specific nature of the program this may enable Chosen Ciphertext Attacks (CCAs) which can cause a catastrophic breakage of the cipher including full plaintext recovery. Version 0.10.3 contains a fix for this issue.","dates":{"published":"2023-09-22T15:19:15.445Z","modified":"2025-06-18T14:22:56.534Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Crates.io","score":4.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:N","exploitability":1.3,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0023,"percentile":0.12975,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":-0.035,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00265},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00262,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00262,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00262,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00262,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00262,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00262,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0023,"percentile":0.12975}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00265,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0023,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0023,"percentile":0.12975}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_RUSTCRYPTO_AEADS","name":"Aeads","source":"github","url":"https://github.com/RustCrypto/AEADs/security/advisories/GHSA-423w-p2w9-r7vq","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature","description":"The product does not verify, or incorrectly verifies, the cryptographic signature for data.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/347.html"}],"affected":[{"vendor":"aes-gcm_project","product":"aes-gcm","name":"aes-gcm","label":"aes-gcm","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.10.0, < 0.10.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.10.0, < 0.10.3","eol":null,"hubHref":"/vendor/aes-gcm_project/aes-gcm"},{"vendor":"Crates.Io","product":"aes-gcm","name":"aes-gcm","label":"aes-gcm","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/aes-gcm","purlType":"cargo","versions":[{"text":"≥ 0.10.0, < 0.10.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.10.0, < 0.10.3","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"37","noFixRecorded":false,"fixedIn":null},{"text":"38","noFixRecorded":false,"fixedIn":null},{"text":"39","noFixRecorded":false,"fixedIn":null}],"versionsText":"37 | 38 | 39","eol":{"isEol":true,"eolDate":"2023-12-05T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"37","label":"37","eolFrom":"2023-12-05T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"opensuse","product":"rage-encryption&distro=openSUSE Leap 15.5","name":"rage-encryption","label":"rage-encryption&distro=openSUSE Leap 15.5","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/rage-encryption&distro=openSUSE Leap 15.5","purlType":"rpm","versions":[{"text":"< 0.9.2+0-150500.3.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.9.2+0-150500.3.3.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"shadowsocks-rust&distro=openSUSE Tumbleweed","name":"shadowsocks-rust","label":"shadowsocks-rust&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/shadowsocks-rust&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 1.16.2-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.16.2-1.1","eol":null,"hubHref":null},{"vendor":"suse","product":"rage-encryption&distro=SUSE Linux Enterprise Module for Basesystem 15 SP5","name":"rage-encryption","label":"rage-encryption&distro=SUSE Linux Enterprise Module for Basesystem 15 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/rage-encryption&distro=SUSE Linux Enterprise Module for Basesystem 15 SP5","purlType":"rpm","versions":[{"text":"< 0.9.2+0-150500.3.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.9.2+0-150500.3.3.1","eol":null,"hubHref":null},{"vendor":"rustcrypto","product":"aeads","name":"AEADs","label":"aeads","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.10.0, < 0.10.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.10.0, < 0.10.3","eol":null,"hubHref":"/vendor/rustcrypto/aeads"}],"affectedCount":7,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/RustCrypto/AEADs/security/advisories/GHSA-423w-p2w9-r7vq","label":"github.com/RustCrypto/AEADs/security/advisories/GHSA-423w-p2w9-r7vq","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Exploit","Vendor Advisory"]},{"url":"https://docs.rs/aes-gcm/latest/src/aes_gcm/lib.rs.html#309","label":"docs.rs/aes-gcm/latest/src/aes_gcm/lib.rs.html","hostname":"docs.rs","tags":["X Refsource MISC","WEB","Product"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RYQCICN6BVC6I75O3F6W4VK4J3MOYDJU/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Mailing List"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U67ZSMNX5V3WTBYPUYF45PSFG4SF5SGF/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Mailing List"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ROBB6TBDAGEQ2WIINR34F3DPSN3FND6K/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Mailing List"]},{"url":"https://www.suse.com/support/update/announcement/2023/suse-su-20234060-1/","label":"www.suse.com/support/update/announcement/2023/suse-su-20234060-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1215657","label":"bugzilla.suse.com/1215657","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2023-42811","label":"www.suse.com/security/cve/CVE-2023-42811","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-42811","label":"nvd.nist.gov/vuln/detail/CVE-2023-42811","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/RustCrypto/AEADs","label":"github.com/RustCrypto/AEADs","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ROBB6TBDAGEQ2WIINR34F3DPSN3FND6K","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RYQCICN6BVC6I75O3F6W4VK4J3MOYDJU","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U67ZSMNX5V3WTBYPUYF45PSFG4SF5SGF","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2023-0096.html","label":"rustsec.org/advisories/RUSTSEC-2023-0096.html","hostname":"rustsec.org","tags":["WEB","Advisory"]},{"url":"https://crates.io/crates/aes-gcm","label":"crates.io/crates/aes-gcm","hostname":"crates.io","tags":["PACKAGE"]},{"url":"https://github.com/RustCrypto/AEADs/pull/551","label":"github.com/RustCrypto/AEADs/pull/551","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-09-22T15:19:15.445Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-06-18T14:22:56.534Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T07:16:56.915Z","stale":false,"partial":false}}