{"answers":{"affected":"4 open source packages ship an affected version, including org.springframework.security:spring-security-core. It affects 3 products.","exploited":"There is no known exploitation of CVE-2022-22976 in the wild and no public exploit code.","fix":"Upgrade org.springframework.security:spring-security-core to a fixed version for your release line: 5.5.7 or 5.6.4.","what":"CVE-2022-22976 is a medium-severity vulnerability in Netapp Active Iq Unified Manager, published on 19 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-22976 and fix it if it is affected.\n\nWhat it is: CVE-2022-22976 is a medium-severity vulnerability in Netapp Active Iq Unified Manager, published on 19 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-22976 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework.security:spring-security-core (Maven): affected from 5.2.0.RELEASE; fixed in 5.5.7\n- org.springframework.security:spring-security-core (Maven): affected from 5.2.0.RELEASE; fixed in 5.5.7\n- org.springframework.security:spring-security-core (Maven): affected from 5.6.0; fixed in 5.6.4\n- org.springframework.security:spring-security-core (Maven): affected from 5.6.0; fixed in 5.6.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-22976/ (Markdown: https://insights.sbomify.com/CVE-2022-22976/index.md)","id":"CVE-2022-22976","markdown":"https://insights.sbomify.com/CVE-2022-22976/index.md","name":"CVE-2022-22976","record":{"aliases":["GHSA-wx54-3278-m5g4","UBUNTU-CVE-2022-22976"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Spring Security library","requires_auth":"none","summary":"An integer overflow in Spring Security's BCrypt encoder with maximum work factor skips salt rounds, weakening password hashing security.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[{"product":"active_iq_unified_manager","vendor":"netapp"},{"product":"financial_services_crime_and_compliance_management_studio","vendor":"oracle"},{"product":"spring_security","vendor":"vmware"}],"cvss":{"score":5.3,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"description":"Spring Security versions 5.5.x prior to 5.5.7, 5.6.x prior to 5.6.4, and earlier unsupported versions contain an integer overflow vulnerability. When using the BCrypt class with the maximum work factor (31), the encoder does not perform any salt rounds, due to an integer overflow error. The default settings are not affected by this CVE.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2022-05-10","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-05-10T16:36:13Z","kind":"github_poc","ref":"https://github.com/spring-io/cve-2022-22976-bcrypt-skips-salt","stars":1,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Integer overflow in BCrypt class in Spring Security","id":"CVE-2022-22976","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"netapp:active_iq_unified_manager","products":["netapp:active_iq_unified_manager"],"type":"integer_overflow","year":"2022"},"n_packages":4,"n_references":3,"next":{"headline":"XML external entity in VMware Tools for Windows","id":"CVE-2022-22977"},"packages":[{"ecosystem":"Maven","fixed":["5.5.7"],"introduced":["5.2.0.RELEASE"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":null,"source":"GHSA-wx54-3278-m5g4"},{"ecosystem":"Maven","fixed":["5.5.7"],"introduced":["5.2.0.RELEASE"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"GHSA-wx54-3278-m5g4"},{"ecosystem":"Maven","fixed":["5.6.4"],"introduced":["5.6.0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":null,"source":"GHSA-wx54-3278-m5g4"},{"ecosystem":"Maven","fixed":["5.6.4"],"introduced":["5.6.0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"GHSA-wx54-3278-m5g4"}],"prev":{"headline":"An issue was discovered in the Pinniped Supervisor with either LADPIdentityProvider or ActiveDirectoryIdentityProvider resources.","id":"CVE-2022-22975"},"products":["Spring Security"],"published":"2022-05-19","related":[{"cvss_score":9.8,"headline":"Spring Security authorization rules can be bypassed via forward or include dispatcher types","id":"CVE-2022-31692","kev_date_added":null,"published":"2022-10-31"},{"cvss_score":9.8,"headline":"Use after free in systemd-resolved","id":"CVE-2022-2526","kev_date_added":null,"published":"2022-09-09"},{"cvss_score":9.8,"headline":"Authorization bypass in Spring Security","id":"CVE-2022-22978","kev_date_added":null,"published":"2022-05-19"},{"cvss_score":9.8,"headline":"Code injection in Node","id":"CVE-2021-22931","kev_date_added":null,"published":"2021-08-16"},{"cvss_score":9,"headline":"Code injection in Java","id":"CVE-2018-2938","kev_date_added":null,"published":"2018-07-18"},{"cvss_score":8.3,"headline":"Code injection in Java","id":"CVE-2018-2941","kev_date_added":null,"published":"2018-07-18"},{"cvss_score":8.3,"headline":"Code injection in Java","id":"CVE-2018-2942","kev_date_added":null,"published":"2018-07-18"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"An integer overflow in Spring Security's BCrypt encoder with maximum work factor skips salt rounds, weakening password hashing security.","url":"https://insights.sbomify.com/CVE-2022-22976/"}