CVE-2024-29857

NameCVE-2024-29857
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1070655

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
bouncycastle (PTS)jessie, jessie (lts)1.49+dfsg-3+deb8u3vulnerable
stretch (security)1.56-1+deb9u3vulnerable
stretch (lts), stretch1.56-1+deb9u4vulnerable
buster (security), buster, buster (lts)1.60-1+deb10u1vulnerable
bullseye1.68-2vulnerable
bookworm1.72-2vulnerable
sid, trixie1.77-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
bouncycastlesourcestretch(unfixed)end-of-life
bouncycastlesource(unstable)(unfixed)1070655

Notes

[bookworm] - bouncycastle <no-dsa> (Minor issue)
[bullseye] - bouncycastle <no-dsa> (Minor issue)
[buster] - bouncycastle <postponed> (Minor issue)
https://github.com/bcgit/bc-java/issues/1635
https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902024%E2%80%9029857
https://github.com/bcgit/bc-java/commit/fee80dd230e7fba132d03a34f1dd1d6aae0d0281 (r1rv78v1)
[jessie] - bouncycastle <postponed> (Minor issue)

Search for package or bug name: Reporting problems