CVE-2023-37464 Incorrect Authentication Tag length usage in AES GCM decryption in OpenIDC/cjose
설명
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).
영향 받는 제품 제품 1개
-
해결 버전 있음
OpenIDC
cjose
영향 받는 버전
- 0.6.2.2 미만
해결 버전
- 0.6.2.2 이상
참고 자료 9건
- datatracker.ietf.org https://datatracker.ietf.org/doc/html/rfc7518#section-4.7 (새 창)
- github.com https://github.com/OpenIDC/cjose/commit/7325e9a5e71e2fc0e350487ecac7d84acdf0ed5e (새 창)
- github.com https://github.com/OpenIDC/cjose/releases/tag/v0.6.2.2 (새 창)
- github.com https://github.com/OpenIDC/cjose/security/advisories/GHSA-3rhg-3gf2-6xgj (새 창)
- lists.debian.org https://lists.debian.org/debian-lts-announce/2023/08/msg00002.html (새 창)
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DFWAPMYYVBO2U65HPYDTBEKNSXG4TP5C/ (새 창)
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LCQJXKDPCWCXB2V4JMQ3UWYJ4UIBPUW6/ (새 창)
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PTZHOVGY7AHGNMEY245HK4Q36AMA53AL/ (새 창)
- debian.org https://www.debian.org/security/2023/dsa-5472 (새 창)