QID 379405

Date Published: 2024-03-01

QID 379405: Spring Framework Open Redirect Vulnerability

Applications that use 'UriComponentsBuilder' to parse an externally provided URL (e.g. through a query parameter) AND perform validation checks on the host of the parsed URL may be vulnerable to a open redirect attack or to a SSRF attack if the URL is used after passing validation checks.

Affected Versions:
Spring Framework 6.1.0 - 6.1.3
Spring Framework 6.0.0 - 6.0.16
Spring Framework 5.3.0 - 5.3.31
Older, unsupported versions of Spring Framework are also affected

QID Detection Logic (Authenticated) - Linux
This QID executes the following commands to detect if spring-core-*.jar is present on the system.

  • locate -b -e -r '^spring\-core.*\.jar$
  • ls -l /proc/*/fd | grep -Eo '\S+\/spring\S+jar' | uniq 2> /dev/null

QID Detection Logic (Authenticated) - Windows
This QID checks for vulnerable version of spring core in running processes using a WMI query.

QID Detection: (Authenticated) - MacOS
This QID executes the 'mdfind' command to check for the presence of spring-core jar on a system.

The vulnerability, if exploited successfully, could enable attackers to deceive a user into visiting a crafted link. This link could then redirect the user to any harmful external website chosen by the attacker.

  • CVSS V3 rated as Critical - 8.1 severity.
  • CVSS V2 rated as Critical - 9.4 severity.
  • Solution
    Vendor has released patch addressing the vulnerability. For more information, please refer to the Spring Core Security Advisory

    Vendor References

    CVEs related to QID 379405

    Software Advisories
    Advisory ID Software Component Link
    Spring Framework Security Advisory URL Logo spring.io/security/cve-2024-22243

    © CVE.report 2026

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report