Advisories
For your digest

org.bouncycastle:bcprov-jdk18on, org.bouncycastle:bcprov-jdk15on: Bouncy Castle certificate parsing issues cause high CPU usage during para…

It touches something Phylax follows. No evidence of use yet.

Does it affect what I run?

Checked in your browser. The version you type is not sent anywhere.

Who is affected

  • org.bouncycastle:bcprov-jdk18on (Maven): every version, before 1.78
  • org.bouncycastle:bcprov-jdk15on (Maven): every version, before 1.78
  • org.bouncycastle:bcprov-jdk15to18 (Maven): every version, before 1.78
  • org.bouncycastle:bcprov-jdk14 (Maven): every version, before 1.78
  • org.bouncycastle:bctls-jdk18on (Maven): every version, before 1.78
  • org.bouncycastle:bctls-jdk14 (Maven): every version, before 1.78
  • org.bouncycastle:bctls-jdk15to18 (Maven): every version, before 1.78
  • org.bouncycastle:bc-fips (Maven): every version, before 1.0.2.5
  • BouncyCastle (NuGet): every version, with no fixed release listed
  • BouncyCastle.Cryptography (NuGet): every version, before 2.3.1

The fix

  • org.bouncycastle:bcprov-jdk18on (Maven) fixed in 1.78

    maven
    mvn versions:use-dep-version -Dincludes=org.bouncycastle:bcprov-jdk18on -DdepVersion=1.78 -DforceVersion=true
    Check what is installed
    mvn dependency:tree -Dincludes=org.bouncycastle:bcprov-jdk18on
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Maven dependency org.bouncycastle:bcprov-jdk18on to 1.78 or the nearest later release, to fix CVE-2024-29857. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • org.bouncycastle:bcprov-jdk15on (Maven) fixed in 1.78

    maven
    mvn versions:use-dep-version -Dincludes=org.bouncycastle:bcprov-jdk15on -DdepVersion=1.78 -DforceVersion=true
    Check what is installed
    mvn dependency:tree -Dincludes=org.bouncycastle:bcprov-jdk15on
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Maven dependency org.bouncycastle:bcprov-jdk15on to 1.78 or the nearest later release, to fix CVE-2024-29857. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • org.bouncycastle:bcprov-jdk15to18 (Maven) fixed in 1.78

    maven
    mvn versions:use-dep-version -Dincludes=org.bouncycastle:bcprov-jdk15to18 -DdepVersion=1.78 -DforceVersion=true
    Check what is installed
    mvn dependency:tree -Dincludes=org.bouncycastle:bcprov-jdk15to18
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Maven dependency org.bouncycastle:bcprov-jdk15to18 to 1.78 or the nearest later release, to fix CVE-2024-29857. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • org.bouncycastle:bcprov-jdk14 (Maven) fixed in 1.78

    maven
    mvn versions:use-dep-version -Dincludes=org.bouncycastle:bcprov-jdk14 -DdepVersion=1.78 -DforceVersion=true
    Check what is installed
    mvn dependency:tree -Dincludes=org.bouncycastle:bcprov-jdk14
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Maven dependency org.bouncycastle:bcprov-jdk14 to 1.78 or the nearest later release, to fix CVE-2024-29857. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • org.bouncycastle:bctls-jdk18on (Maven) fixed in 1.78

    maven
    mvn versions:use-dep-version -Dincludes=org.bouncycastle:bctls-jdk18on -DdepVersion=1.78 -DforceVersion=true
    Check what is installed
    mvn dependency:tree -Dincludes=org.bouncycastle:bctls-jdk18on
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Maven dependency org.bouncycastle:bctls-jdk18on to 1.78 or the nearest later release, to fix CVE-2024-29857. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • org.bouncycastle:bctls-jdk14 (Maven) fixed in 1.78

    maven
    mvn versions:use-dep-version -Dincludes=org.bouncycastle:bctls-jdk14 -DdepVersion=1.78 -DforceVersion=true
    Check what is installed
    mvn dependency:tree -Dincludes=org.bouncycastle:bctls-jdk14
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Maven dependency org.bouncycastle:bctls-jdk14 to 1.78 or the nearest later release, to fix CVE-2024-29857. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • org.bouncycastle:bctls-jdk15to18 (Maven) fixed in 1.78

    maven
    mvn versions:use-dep-version -Dincludes=org.bouncycastle:bctls-jdk15to18 -DdepVersion=1.78 -DforceVersion=true
    Check what is installed
    mvn dependency:tree -Dincludes=org.bouncycastle:bctls-jdk15to18
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Maven dependency org.bouncycastle:bctls-jdk15to18 to 1.78 or the nearest later release, to fix CVE-2024-29857. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • org.bouncycastle:bc-fips (Maven) fixed in 1.0.2.5

    maven
    mvn versions:use-dep-version -Dincludes=org.bouncycastle:bc-fips -DdepVersion=1.0.2.5 -DforceVersion=true
    Check what is installed
    mvn dependency:tree -Dincludes=org.bouncycastle:bc-fips
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Maven dependency org.bouncycastle:bc-fips to 1.0.2.5 or the nearest later release, to fix CVE-2024-29857. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • BouncyCastle.Cryptography (NuGet) fixed in 2.3.1

    dotnet
    dotnet add package BouncyCastle.Cryptography --version 2.3.1
    Check what is installed
    dotnet list package
    Paste into Cursor, Lovable or Claude Code
    Upgrade the NuGet dependency BouncyCastle.Cryptography to 2.3.1 or the nearest later release, to fix CVE-2024-29857. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.

Fix commands generated from the advisory's versions. No model wrote them.

In plain words

Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.

Evidence

No evidence that it is being used, or can be. It is listed because of what it affects.

Timeline

  1. First published here, as "For your digest".