{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-37464 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2023-37464 is a high-severity vulnerability in OpenIDC cjose, published on 14 Jul 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-37464 and fix it if it is affected.\n\nWhat it is: CVE-2023-37464 is a high-severity vulnerability in OpenIDC cjose, published on 14 Jul 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-37464 in the wild and no public exploit code.\n\nAffected product: OpenIDC cjose. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-37464/ (Markdown: https://insights.sbomify.com/CVE-2023-37464/index.md)","id":"CVE-2023-37464","markdown":"https://insights.sbomify.com/CVE-2023-37464/index.md","name":"CVE-2023-37464","record":{"aliases":["ALSA-2023:4411","ALSA-2023:4418","AZL-27659","AZL-36936","CLEANSTART-2024-IV40707","DEBIAN-CVE-2023-37464","DLA-3515-1","DSA-5472-1","GHSA-3rhg-3gf2-6xgj","MGASA-2023-0350","OESA-2023-1441","RHSA-2023:4408","RHSA-2023:4409","RHSA-2023:4410","RHSA-2023:4411","RHSA-2023:4417","RHSA-2023:4418","RHSA-2023:4429","RLSA-2023:4418","SUSE-SU-2023:3030-1","SUSE-SU-2023:3230-1","UBUNTU-CVE-2023-37464","USN-6307-1","openSUSE-SU-2024:13052-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"JOSE C library","requires_auth":"none","summary":"An attacker can modify encrypted data by exploiting incorrect authentication tag length validation in AES GCM decryption within the cjose library.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"cjose","vendor":"cisco"}],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-327","name":"Use of a Broken or Risky Cryptographic Algorithm"}],"description":"OpenIDC/cjose is a C library implementing the Javascript Object Signing and Encryption (JOSE). The AES GCM decryption routine incorrectly uses the Tag length from the actual Authentication Tag provided in the JWE. The spec  says that a fixed length of 16 octets must be applied. Therefore this bug allows an attacker to provide a truncated Authentication Tag and to modify the JWE accordingly. Users should upgrade to a version \u003e= 0.6.2.2. Users unable to upgrade should avoid using AES GCM encryption and replace it with another encryption algorithm (e.g. AES CBC).","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:9::appstream","Red Hat:rhel_aus:8.2::appstream","Red Hat:rhel_aus:8.4::appstream","Red Hat:rhel_e4s:8.1::appstream","Red Hat:rhel_e4s:8.2::appstream","Red Hat:rhel_e4s:8.4::appstream","Red Hat:rhel_eus:8.6::appstream","Red Hat:rhel_eus:9.0::appstream","Red Hat:rhel_tus:8.2::appstream","Red Hat:rhel_tus:8.4::appstream","Rocky Linux:8","SUSE:Enterprise Storage 7","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise Module for Server Applications 15 SP4","SUSE:Linux Enterprise Module for Server Applications 15 SP5","SUSE:Linux Enterprise Real Time 15 SP3","SUSE:Linux Enterprise Server 12 SP4-ESPOS","SUSE:Linux Enterprise Server 12 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Manager Proxy 4.2","SUSE:Manager Server 4.2","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 9","openSUSE:Leap 15.4","openSUSE:Leap 15.5"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Incorrect Authentication Tag length usage in AES GCM decryption in OpenIDC/cjose","id":"CVE-2023-37464","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"weak_cryptography","year":"2023"},"n_packages":101,"n_references":9,"next":{"headline":"vm2 Sandbox Escape vulnerability","id":"CVE-2023-37466"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["0.6.1-3.module_el8.8.0+3591+c9939da8"],"introduced":["0"],"last_affected":[],"package":"cjose","purl":"pkg:rpm/almalinux/cjose","source":"ALSA-2023:4418"},{"ecosystem":"AlmaLinux:8","fixed":["0.6.1-3.module_el8.8.0+3591+c9939da8"],"introduced":["0"],"last_affected":[],"package":"cjose-devel","purl":"pkg:rpm/almalinux/cjose-devel","source":"ALSA-2023:4418"},{"ecosystem":"AlmaLinux:8","fixed":["2.4.9.4-1.module_el8.7.0+3305+9a59f0c3"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc","purl":"pkg:rpm/almalinux/mod_auth_openidc","source":"ALSA-2023:4418"},{"ecosystem":"AlmaLinux:9","fixed":["0.6.1-13.el9_2.alma"],"introduced":["0"],"last_affected":[],"package":"cjose","purl":"pkg:rpm/almalinux/cjose","source":"ALSA-2023:4411"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.6.1-3.module+el8.8.0+19464+578f4546"],"introduced":["0"],"last_affected":[],"package":"cjose","purl":"pkg:rpm/redhat/cjose","source":"RHSA-2023:4418"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.6.1-3.module+el8.8.0+19464+578f4546"],"introduced":["0"],"last_affected":[],"package":"cjose-debuginfo","purl":"pkg:rpm/redhat/cjose-debuginfo","source":"RHSA-2023:4418"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.6.1-3.module+el8.8.0+19464+578f4546"],"introduced":["0"],"last_affected":[],"package":"cjose-debugsource","purl":"pkg:rpm/redhat/cjose-debugsource","source":"RHSA-2023:4418"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.6.1-3.module+el8.8.0+19464+578f4546"],"introduced":["0"],"last_affected":[],"package":"cjose-devel","purl":"pkg:rpm/redhat/cjose-devel","source":"RHSA-2023:4418"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.4.9.4-1.module+el8.7.0+14797+4085fcb6"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc","purl":"pkg:rpm/redhat/mod_auth_openidc","source":"RHSA-2023:4418"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.4.9.4-1.module+el8.7.0+14797+4085fcb6"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc-debuginfo","purl":"pkg:rpm/redhat/mod_auth_openidc-debuginfo","source":"RHSA-2023:4418"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.4.9.4-1.module+el8.7.0+14797+4085fcb6"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc-debugsource","purl":"pkg:rpm/redhat/mod_auth_openidc-debugsource","source":"RHSA-2023:4418"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.6.1-13.el9_2"],"introduced":["0"],"last_affected":[],"package":"cjose","purl":"pkg:rpm/redhat/cjose","source":"RHSA-2023:4411"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.6.1-13.el9_2"],"introduced":["0"],"last_affected":[],"package":"cjose-debuginfo","purl":"pkg:rpm/redhat/cjose-debuginfo","source":"RHSA-2023:4411"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.6.1-13.el9_2"],"introduced":["0"],"last_affected":[],"package":"cjose-debugsource","purl":"pkg:rpm/redhat/cjose-debugsource","source":"RHSA-2023:4411"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:0.6.1-3.module+el8.2.0+19461+3a40b6ee"],"introduced":["0"],"last_affected":[],"package":"cjose","purl":"pkg:rpm/redhat/cjose","source":"RHSA-2023:4410"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:0.6.1-3.module+el8.2.0+19461+3a40b6ee"],"introduced":["0"],"last_affected":[],"package":"cjose-debuginfo","purl":"pkg:rpm/redhat/cjose-debuginfo","source":"RHSA-2023:4410"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:0.6.1-3.module+el8.2.0+19461+3a40b6ee"],"introduced":["0"],"last_affected":[],"package":"cjose-debugsource","purl":"pkg:rpm/redhat/cjose-debugsource","source":"RHSA-2023:4410"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:0.6.1-3.module+el8.2.0+19461+3a40b6ee"],"introduced":["0"],"last_affected":[],"package":"cjose-devel","purl":"pkg:rpm/redhat/cjose-devel","source":"RHSA-2023:4410"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.3.7-4.module+el8.2.0+6919+ac02cfd2.3"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc","purl":"pkg:rpm/redhat/mod_auth_openidc","source":"RHSA-2023:4410"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.3.7-4.module+el8.2.0+6919+ac02cfd2.3"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc-debuginfo","purl":"pkg:rpm/redhat/mod_auth_openidc-debuginfo","source":"RHSA-2023:4410"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.3.7-4.module+el8.2.0+6919+ac02cfd2.3"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc-debugsource","purl":"pkg:rpm/redhat/mod_auth_openidc-debugsource","source":"RHSA-2023:4410"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:0.6.1-3.module+el8.4.0+19462+14bde120"],"introduced":["0"],"last_affected":[],"package":"cjose","purl":"pkg:rpm/redhat/cjose","source":"RHSA-2023:4409"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:0.6.1-3.module+el8.4.0+19462+14bde120"],"introduced":["0"],"last_affected":[],"package":"cjose-debuginfo","purl":"pkg:rpm/redhat/cjose-debuginfo","source":"RHSA-2023:4409"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:0.6.1-3.module+el8.4.0+19462+14bde120"],"introduced":["0"],"last_affected":[],"package":"cjose-debugsource","purl":"pkg:rpm/redhat/cjose-debugsource","source":"RHSA-2023:4409"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:0.6.1-3.module+el8.4.0+19462+14bde120"],"introduced":["0"],"last_affected":[],"package":"cjose-devel","purl":"pkg:rpm/redhat/cjose-devel","source":"RHSA-2023:4409"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.3.7-8.module+el8.4.0+9707+f2438af7"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc","purl":"pkg:rpm/redhat/mod_auth_openidc","source":"RHSA-2023:4409"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.3.7-8.module+el8.4.0+9707+f2438af7"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc-debuginfo","purl":"pkg:rpm/redhat/mod_auth_openidc-debuginfo","source":"RHSA-2023:4409"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.3.7-8.module+el8.4.0+9707+f2438af7"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc-debugsource","purl":"pkg:rpm/redhat/mod_auth_openidc-debugsource","source":"RHSA-2023:4409"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["0:0.6.1-3.module+el8.1.0+19504+b2d26fa1"],"introduced":["0"],"last_affected":[],"package":"cjose","purl":"pkg:rpm/redhat/cjose","source":"RHSA-2023:4429"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["0:0.6.1-3.module+el8.1.0+19504+b2d26fa1"],"introduced":["0"],"last_affected":[],"package":"cjose-debuginfo","purl":"pkg:rpm/redhat/cjose-debuginfo","source":"RHSA-2023:4429"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["0:0.6.1-3.module+el8.1.0+19504+b2d26fa1"],"introduced":["0"],"last_affected":[],"package":"cjose-debugsource","purl":"pkg:rpm/redhat/cjose-debugsource","source":"RHSA-2023:4429"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["0:0.6.1-3.module+el8.1.0+19504+b2d26fa1"],"introduced":["0"],"last_affected":[],"package":"cjose-devel","purl":"pkg:rpm/redhat/cjose-devel","source":"RHSA-2023:4429"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["0:2.3.7-4.module+el8.1.0+19504+b2d26fa1.3"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc","purl":"pkg:rpm/redhat/mod_auth_openidc","source":"RHSA-2023:4429"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["0:2.3.7-4.module+el8.1.0+19504+b2d26fa1.3"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc-debuginfo","purl":"pkg:rpm/redhat/mod_auth_openidc-debuginfo","source":"RHSA-2023:4429"},{"ecosystem":"Red Hat:rhel_e4s:8.1::appstream","fixed":["0:2.3.7-4.module+el8.1.0+19504+b2d26fa1.3"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc-debugsource","purl":"pkg:rpm/redhat/mod_auth_openidc-debugsource","source":"RHSA-2023:4429"},{"ecosystem":"Red Hat:rhel_e4s:8.2::appstream","fixed":["0:0.6.1-3.module+el8.2.0+19461+3a40b6ee"],"introduced":["0"],"last_affected":[],"package":"cjose","purl":"pkg:rpm/redhat/cjose","source":"RHSA-2023:4410"},{"ecosystem":"Red Hat:rhel_e4s:8.2::appstream","fixed":["0:0.6.1-3.module+el8.2.0+19461+3a40b6ee"],"introduced":["0"],"last_affected":[],"package":"cjose-debuginfo","purl":"pkg:rpm/redhat/cjose-debuginfo","source":"RHSA-2023:4410"},{"ecosystem":"Red Hat:rhel_e4s:8.2::appstream","fixed":["0:0.6.1-3.module+el8.2.0+19461+3a40b6ee"],"introduced":["0"],"last_affected":[],"package":"cjose-debugsource","purl":"pkg:rpm/redhat/cjose-debugsource","source":"RHSA-2023:4410"},{"ecosystem":"Red Hat:rhel_e4s:8.2::appstream","fixed":["0:0.6.1-3.module+el8.2.0+19461+3a40b6ee"],"introduced":["0"],"last_affected":[],"package":"cjose-devel","purl":"pkg:rpm/redhat/cjose-devel","source":"RHSA-2023:4410"},{"ecosystem":"Red Hat:rhel_e4s:8.2::appstream","fixed":["0:2.3.7-4.module+el8.2.0+6919+ac02cfd2.3"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc","purl":"pkg:rpm/redhat/mod_auth_openidc","source":"RHSA-2023:4410"}],"prev":{"headline":"Quadratic complexity bugs may lead to a denial of service","id":"CVE-2023-37463"},"products":["cjose"],"published":"2023-07-14","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-13","vendors":["OpenIDC"]},"summary":"An attacker can modify encrypted data by exploiting incorrect authentication tag length validation in AES GCM decryption within the cjose library.","url":"https://insights.sbomify.com/CVE-2023-37464/"}