CVE-2023-37464
What it is
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 >= 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).
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data tampering.
- Exploit odds
- 0.7% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.7% in the next 30 days (EPSS).
- Severity: 8.6 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.7% · EPSS, next 30 days
- Weakness
- CWE-327 · Broken cryptographic algorithm
- Record status
- Modified
Affected
- Cisco Cjose < 0.6.2.2
Attack profile CVSS 3.1 · 8.6
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2023-37464.md and follow it. Check whether this project is affected by CVE-2023-37464. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/OpenIDC/cjose/commit/7325e9a5e71e2fc0e350487ecac7d84acdf0ed5e
- https://github.com/OpenIDC/cjose/releases/tag/v0.6.2.2
- https://github.com/OpenIDC/cjose/security/advisories/GHSA-3rhg-3gf2-6xgj
- https://github.com/OpenIDC/cjose/commit/7325e9a5e71e2fc0e350487ecac7d84acdf0ed5e
- https://github.com/OpenIDC/cjose/releases/tag/v0.6.2.2
- https://github.com/OpenIDC/cjose/security/advisories/GHSA-3rhg-3gf2-6xgj
References
- https://datatracker.ietf.org/doc/html/rfc7518#section-4.7
- https://github.com/OpenIDC/cjose/commit/7325e9a5e71e2fc0e350487ecac7d84acdf0ed5e
- https://github.com/OpenIDC/cjose/releases/tag/v0.6.2.2
- https://github.com/OpenIDC/cjose/security/advisories/GHSA-3rhg-3gf2-6xgj
- https://lists.debian.org/debian-lts-announce/2023/08/msg00002.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/DFWAPMYYVBO2U65HPYDTBEKNSXG4TP5C/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/LCQJXKDPCWCXB2V4JMQ3UWYJ4UIBPUW6/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/PTZHOVGY7AHGNMEY245HK4Q36AMA53AL/
- https://www.debian.org/security/2023/dsa-5472
- https://datatracker.ietf.org/doc/html/rfc7518#section-4.7
- https://github.com/OpenIDC/cjose/commit/7325e9a5e71e2fc0e350487ecac7d84acdf0ed5e
- https://github.com/OpenIDC/cjose/releases/tag/v0.6.2.2
- https://github.com/OpenIDC/cjose/security/advisories/GHSA-3rhg-3gf2-6xgj
- https://lists.debian.org/debian-lts-announce/2023/08/msg00002.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/DFWAPMYYVBO2U65HPYDTBEKNSXG4TP5C/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/LCQJXKDPCWCXB2V4JMQ3UWYJ4UIBPUW6/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/PTZHOVGY7AHGNMEY245HK4Q36AMA53AL/
- https://www.debian.org/security/2023/dsa-5472