{"id":"GHSA-8xfc-gm6g-vgpv","revision":"b602b931287446be910dcaaabab08151","records":[{"revision":"b602b931287446be910dcaaabab08151","observedAt":"2026-10-23T16:01:25.029+00:00","statement":{"source":"osv","id":"GHSA-8xfc-gm6g-vgpv","aliases":["CVE-2024-29857"],"title":"Bouncy Castle certificate parsing issues cause high CPU usage during parameter evaluation.","description":"An issue was discovered in ECCurve.java and ECCurve.cs in Bouncy Castle Java (BC Java) before 1.78, BC Java LTS before 2.73.6, BC-FJA before 1.0.2.5, and BC C# .Net before 2.3.1. Importing an EC certificate with crafted F2m parameters can lead to excessive CPU consumption during the evaluation of the curve parameters.","state":0,"publishedAt":"2024-05-14T15:32:54+00:00","modifiedAt":"2026-09-10T03:49:19.2527791+00:00","affected":[{"ecosystem":"Maven","name":"org.bouncycastle:bcprov-jdk18on","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.78"}]}],"versions":["1.71","1.71.1","1.72","1.73","1.74","1.75","1.76","1.77"],"rawVersionEvidence":null},{"ecosystem":"Maven","name":"org.bouncycastle:bcprov-jdk15on","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.78"}]}],"versions":["1.46","1.47","1.48","1.49","1.50","1.51","1.52","1.53","1.54","1.55","1.56","1.57","1.58","1.59","1.60","1.61","1.62","1.63","1.64","1.65","1.65.01","1.66","1.67","1.68","1.69","1.70"],"rawVersionEvidence":null},{"ecosystem":"Maven","name":"org.bouncycastle:bcprov-jdk15to18","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.78"}]}],"versions":["1.63","1.64","1.65","1.66","1.67","1.68","1.69","1.70","1.71","1.72","1.73","1.74","1.75","1.76","1.77"],"rawVersionEvidence":null},{"ecosystem":"Maven","name":"org.bouncycastle:bcprov-jdk14","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.78"}]}],"versions":["1.38","1.43","1.44","1.45","1.46","1.47","1.48","1.49","1.50","1.51","1.53","1.54","1.55","1.56","1.57","1.58","1.59","1.60","1.61","1.62","1.63","1.64","1.65","1.67","1.68","1.69","1.70","1.71","1.72","1.73","1.74","1.75","1.76","1.77"],"rawVersionEvidence":null},{"ecosystem":"Maven","name":"org.bouncycastle:bctls-jdk18on","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.78"}]}],"versions":["1.71","1.71.1","1.72","1.73","1.74","1.75","1.76","1.77"],"rawVersionEvidence":null},{"ecosystem":"Maven","name":"org.bouncycastle:bctls-jdk14","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.78"}]}],"versions":["1.61","1.62","1.63","1.64","1.65","1.67","1.68","1.69","1.70","1.71","1.72","1.73","1.74","1.75","1.76","1.77"],"rawVersionEvidence":null},{"ecosystem":"Maven","name":"org.bouncycastle:bctls-jdk15to18","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.78"}]}],"versions":["1.63","1.64","1.65","1.66","1.67","1.68","1.69","1.70","1.71","1.72","1.73","1.74","1.75","1.76","1.77"],"rawVersionEvidence":null},{"ecosystem":"Maven","name":"org.bouncycastle:bc-fips","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.0.2.5"}]}],"versions":["1.0.0","1.0.1","1.0.2","1.0.2.1","1.0.2.3","1.0.2.4"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"BouncyCastle","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"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"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"BouncyCastle.Cryptography","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.3.1"}]}],"versions":["2.0.0","2.1.0","2.1.1","2.2.0","2.2.1","2.3.0"],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2024-29857","https://github.com/bcgit/bc-csharp/commit/56daa6eac526f165416d17f661422d60de0dfd63","https://github.com/bcgit/bc-java/commit/efc498ca4caa340ac2fe11f2efee06c1a294501f","https://github.com/bcgit/bc-java/commit/fee80dd230e7fba132d03a34f1dd1d6aae0d0281","https://github.com/bcgit/bc-csharp/wiki/CVE%E2%80%902024%E2%80%9029857","https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902024%E2%80%9029857","https://security.netapp.com/advisory/ntap-20241206-0008","https://www.bouncycastle.org/latest_releases.html"],"sourceUrl":"https://github.com/advisories/GHSA-8xfc-gm6g-vgpv","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-8xfc-gm6g-vgpv","identifiers":["GHSA-8xfc-gm6g-vgpv","CVE-2024-29857"]},"retained":false,"historicalAffected":[]}],"coverage":[]}