{"id":"GHSA-m44j-cfrm-g8qc","summary":"Bouncy Castle crafted signature and public key can be used to trigger an infinite loop","details":"An issue was discovered in Bouncy Castle Java Cryptography APIs starting in 1.73 and before 1.78. An Ed25519 verification code infinite loop can occur via a crafted signature and public key.","aliases":["CVE-2024-30172"],"modified":"2026-07-17T21:13:01.852047402Z","published":"2024-05-14T15:32:54Z","database_specific":{"github_reviewed_at":"2024-05-14T20:22:06Z","nvd_published_at":"2024-05-14T15:21:53Z","cwe_ids":["CWE-835"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-30172"},{"type":"WEB","url":"https://github.com/bcgit/bc-java/commit/1b9fd9b545e691bfb3941a9f6a797660c8860f02"},{"type":"WEB","url":"https://github.com/bcgit/bc-java/commit/9c165791b68a204678b48ec11e4e579754c2ea49"},{"type":"WEB","url":"https://github.com/bcgit/bc-java/commit/ebe1c75579170072dc59b8dee2b55ce31663178f"},{"type":"WEB","url":"https://github.com/bcgit/bc-csharp/wiki/CVE%E2%80%902024%E2%80%9030172"},{"type":"WEB","url":"https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902024%E2%80%9030172"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20240614-0007"},{"type":"WEB","url":"https://www.bouncycastle.org/latest_releases.html"}],"affected":[{"package":{"name":"org.bouncycastle:bcprov-jdk18on","ecosystem":"Maven","purl":"pkg:maven/org.bouncycastle/bcprov-jdk18on"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.73"},{"fixed":"1.78"}]}],"versions":["1.73","1.74","1.75","1.76","1.77"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-m44j-cfrm-g8qc/GHSA-m44j-cfrm-g8qc.json"}},{"package":{"name":"org.bouncycastle:bcprov-jdk15to18","ecosystem":"Maven","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15to18"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.73"},{"fixed":"1.78"}]}],"versions":["1.73","1.74","1.75","1.76","1.77"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-m44j-cfrm-g8qc/GHSA-m44j-cfrm-g8qc.json"}},{"package":{"name":"org.bouncycastle:bcprov-jdk14","ecosystem":"Maven","purl":"pkg:maven/org.bouncycastle/bcprov-jdk14"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.73"},{"fixed":"1.78"}]}],"versions":["1.73","1.74","1.75","1.76","1.77"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-m44j-cfrm-g8qc/GHSA-m44j-cfrm-g8qc.json"}},{"package":{"name":"org.bouncycastle:bctls-jdk18on","ecosystem":"Maven","purl":"pkg:maven/org.bouncycastle/bctls-jdk18on"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.73"},{"fixed":"1.78"}]}],"versions":["1.73","1.74","1.75","1.76","1.77"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-m44j-cfrm-g8qc/GHSA-m44j-cfrm-g8qc.json"}},{"package":{"name":"org.bouncycastle:bctls-jdk14","ecosystem":"Maven","purl":"pkg:maven/org.bouncycastle/bctls-jdk14"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.73"},{"fixed":"1.78"}]}],"versions":["1.73","1.74","1.75","1.76","1.77"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-m44j-cfrm-g8qc/GHSA-m44j-cfrm-g8qc.json"}},{"package":{"name":"org.bouncycastle:bctls-jdk15to18","ecosystem":"Maven","purl":"pkg:maven/org.bouncycastle/bctls-jdk15to18"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.73"},{"fixed":"1.78"}]}],"versions":["1.73","1.74","1.75","1.76","1.77"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-m44j-cfrm-g8qc/GHSA-m44j-cfrm-g8qc.json"}},{"package":{"name":"BouncyCastle","ecosystem":"NuGet","purl":"pkg:nuget/BouncyCastle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.0","1.8.1","1.8.2","1.8.3","1.8.3.1","1.8.4","1.8.5","1.8.6","1.8.6.1","1.8.9"],"database_specific":{"last_known_affected_version_range":"\u003c 2.3.1","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-m44j-cfrm-g8qc/GHSA-m44j-cfrm-g8qc.json"}},{"package":{"name":"BouncyCastle.Cryptography","ecosystem":"NuGet","purl":"pkg:nuget/BouncyCastle.Cryptography"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.1"}]}],"versions":["2.0.0","2.1.0","2.1.1","2.2.0","2.2.1","2.3.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-m44j-cfrm-g8qc/GHSA-m44j-cfrm-g8qc.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}]}