Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.hateoas/spring-hateoas
  4. ›
  5. CVE-2023-34036

CVE-2023-34036: Improper Encoding or Escaping of Output

July 17, 2023 (updated July 19, 2023)

Reactive web applications that use Spring HATEOAS to produce hypermedia-based responses might be exposed to malicious forwarded headers if they are not behind a trusted proxy that ensures correctness of such headers, or if they don’t have anything else in place to handle (and possibly discard) forwarded headers either in WebFlux or at the level of the underlying HTTP server.

For the application to be affected, it needs to satisfy the following requirements:

  • It needs to use the reactive web stack (Spring WebFlux) and Spring HATEOAS to create links in hypermedia-based responses.
  • The application infrastructure does not guard against clients submitting (X-)Forwarded… headers.

References

  • github.com/advisories/GHSA-7m5c-fgwf-mwph
  • nvd.nist.gov/vuln/detail/CVE-2023-34036
  • spring.io/security/cve-2023-34036

Code Behaviors & Features

Detect and mitigate CVE-2023-34036 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.5.5, all versions starting from 2.0.0 before 2.0.5, all versions starting from 2.1.0 before 2.1.1

Fixed versions

  • 1.5.5
  • 2.0.5
  • 2.1.1

Solution

Upgrade to versions 1.5.5, 2.0.5, 2.1.1 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output

Source file

maven/org.springframework.hateoas/spring-hateoas/CVE-2023-34036.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:01 +0000.