{"api_version":"1","generated_at":"2026-07-23T19:19:36+00:00","cve":"CVE-2023-42811","urls":{"html":"https://cve.report/CVE-2023-42811","api":"https://cve.report/api/cve/CVE-2023-42811.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-42811","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-42811"},"summary":{"title":"CVE-2023-42811","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-09-22 16:15:00","updated_at":"2023-10-03 04:15:00"},"problem_types":["CWE-347"],"metrics":[],"references":[{"url":"https://github.com/RustCrypto/AEADs/security/advisories/GHSA-423w-p2w9-r7vq","name":"https://github.com/RustCrypto/AEADs/security/advisories/GHSA-423w-p2w9-r7vq","refsource":"MISC","tags":[],"title":"AEADs/aes-gcm: Plaintext exposed in decrypt_in_place_detached even on tag verification failure · Advisory · RustCrypto/AEADs · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U67ZSMNX5V3WTBYPUYF45PSFG4SF5SGF/","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U67ZSMNX5V3WTBYPUYF45PSFG4SF5SGF/","refsource":"MISC","tags":[],"title":"[SECURITY] Fedora 37 Update: rust-aes-gcm-0.10.3-1.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ROBB6TBDAGEQ2WIINR34F3DPSN3FND6K/","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ROBB6TBDAGEQ2WIINR34F3DPSN3FND6K/","refsource":"MISC","tags":[],"title":"[SECURITY] Fedora 38 Update: rust-aes-gcm-0.10.3-1.fc38 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://docs.rs/aes-gcm/latest/src/aes_gcm/lib.rs.html#309","name":"https://docs.rs/aes-gcm/latest/src/aes_gcm/lib.rs.html#309","refsource":"MISC","tags":[],"title":"lib.rs - source","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RYQCICN6BVC6I75O3F6W4VK4J3MOYDJU/","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RYQCICN6BVC6I75O3F6W4VK4J3MOYDJU/","refsource":"MISC","tags":[],"title":"[SECURITY] Fedora 39 Update: rust-aes-gcm-0.10.3-1.fc39 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-42811","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-42811","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"42811","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"aes-gcm_project","cpe5":"aes-gcm","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"rust","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-42811","qid":"284564","title":"Fedora Security Update for firecracker (FEDORA-2023-bc40c7995e)"},{"cve":"CVE-2023-42811","qid":"284566","title":"Fedora Security Update for firecracker (FEDORA-2023-98f44d1c4c)"},{"cve":"CVE-2023-42811","qid":"285231","title":"Fedora Security Update for firecracker (FEDORA-2023-17bdd59177)"},{"cve":"CVE-2023-42811","qid":"755080","title":"SUSE Enterprise Linux Security Update for rage-encryption (SUSE-SU-2023:4060-1)"},{"cve":"CVE-2023-42811","qid":"996204","title":"Rust (Rust) Security Update for aes-gcm (GHSA-423w-p2w9-r7vq)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-42811","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-347: Improper Verification of Cryptographic Signature","cweId":"CWE-347"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"RustCrypto","product":{"product_data":[{"product_name":"AEADs","version":{"version_data":[{"version_affected":"=","version_value":">= 0.10.0, < 0.10.3"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/RustCrypto/AEADs/security/advisories/GHSA-423w-p2w9-r7vq","refsource":"MISC","name":"https://github.com/RustCrypto/AEADs/security/advisories/GHSA-423w-p2w9-r7vq"},{"url":"https://docs.rs/aes-gcm/latest/src/aes_gcm/lib.rs.html#309","refsource":"MISC","name":"https://docs.rs/aes-gcm/latest/src/aes_gcm/lib.rs.html#309"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RYQCICN6BVC6I75O3F6W4VK4J3MOYDJU/","refsource":"MISC","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RYQCICN6BVC6I75O3F6W4VK4J3MOYDJU/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U67ZSMNX5V3WTBYPUYF45PSFG4SF5SGF/","refsource":"MISC","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U67ZSMNX5V3WTBYPUYF45PSFG4SF5SGF/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ROBB6TBDAGEQ2WIINR34F3DPSN3FND6K/","refsource":"MISC","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ROBB6TBDAGEQ2WIINR34F3DPSN3FND6K/"}]},"source":{"advisory":"GHSA-423w-p2w9-r7vq","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":4.7,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:N","version":"3.1"}]}},"nvd":{"publishedDate":"2023-09-22 16:15:00","lastModifiedDate":"2023-10-03 04:15:00","problem_types":["CWE-347"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":5.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.8,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:aes-gcm_project:aes-gcm:*:*:*:*:*:rust:*:*","versionStartIncluding":"0.10.0","versionEndExcluding":"0.10.3","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}