CVE-2022-22976: Integer overflow in BCrypt class in Spring Security

CVE-2022-22976 · Severity: low · CVSS 3.1 · Published 2022-05-20

Integer overflow in BCrypt class in Spring Security

Technologies: org.springframework.security:spring-security-core (Maven). Vendors: Maven.

Quick answers

Is CVE-2022-22976 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-22976 being exploited in the wild.
How severe is CVE-2022-22976?
Low severity, with a CVSS score of 3.1, published 20 May 2022.
Which products and versions are affected?
org.springframework.security:spring-security-core (Maven) ECOSYSTEM:introduced=5.2.0.RELEASE,fixed=5.5.7.
Is there a fix for CVE-2022-22976?
Yes. org.springframework.security:spring-security-core (Maven): upgrade to 5.5.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2022-22976?
Check whether you run org.springframework.security:spring-security-core (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • org.springframework.security:spring-security-core (Maven): upgrade to 5.5.7 or later
    # set org.springframework.security:spring-security-core to 5.5.7 in your pom.xml or build.gradle

Affected products

  • org.springframework.security:spring-security-core (Maven) ECOSYSTEM:introduced=5.2.0.RELEASE,fixed=5.5.7

Identifiers

  • CVE-2022-22976
  • GHSA-wx54-3278-m5g4

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.