UBUNTU-CVE-2016-5007 (CVE-2016-5007)
Vulnerability from osv_ubuntu – Published: 2017-05-25 17:29 – Updated: 2025-09-08 16:43 – Source websiteBoth Spring Security 3.2.x, 4.0.x, 4.1.0 and the Spring Framework 3.2.x, 4.0.x, 4.1.x, 4.2.x rely on URL pattern mappings for authorization and for mapping requests to controllers respectively. Differences in the strictness of the pattern matching mechanisms, for example with regards to space trimming in path segments, can lead Spring Security to not recognize certain paths as not protected that are in fact mapped to Spring MVC controllers that should be protected. The problem is compounded by the fact that the Spring Framework provides richer features with regards to pattern matching as well as by the fact that pattern matching in each Spring Security and the Spring Framework can easily be customized creating additional differences.
| URL | Type | |
|---|---|---|
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libspring-aop-java",
"binary_version": "3.0.6.RELEASE-13ubuntu0.1~esm2"
},
{
"binary_name": "libspring-beans-java",
"binary_version": "3.0.6.RELEASE-13ubuntu0.1~esm2"
},
{
"binary_name": "libspring-context-java",
"binary_version": "3.0.6.RELEASE-13ubuntu0.1~esm2"
},
{
"binary_name": "libspring-context-support-java",
"binary_version": "3.0.6.RELEASE-13ubuntu0.1~esm2"
},
{
"binary_name": "libspring-core-java",
"binary_version": "3.0.6.RELEASE-13ubuntu0.1~esm2"
},
{
"binary_name": "libspring-expression-java",
"binary_version": "3.0.6.RELEASE-13ubuntu0.1~esm2"
},
{
"binary_name": "libspring-instrument-java",
"binary_version": "3.0.6.RELEASE-13ubuntu0.1~esm2"
},
{
"binary_name": "libspring-jdbc-java",
"binary_version": "3.0.6.RELEASE-13ubuntu0.1~esm2"
},
{
"binary_name": "libspring-jms-java",
"binary_version": "3.0.6.RELEASE-13ubuntu0.1~esm2"
},
{
"binary_name": "libspring-orm-java",
"binary_version": "3.0.6.RELEASE-13ubuntu0.1~esm2"
},
{
"binary_name": "libspring-oxm-java",
"binary_version": "3.0.6.RELEASE-13ubuntu0.1~esm2"
},
{
"binary_name": "libspring-test-java",
"binary_version": "3.0.6.RELEASE-13ubuntu0.1~esm2"
},
{
"binary_name": "libspring-transaction-java",
"binary_version": "3.0.6.RELEASE-13ubuntu0.1~esm2"
},
{
"binary_name": "libspring-web-java",
"binary_version": "3.0.6.RELEASE-13ubuntu0.1~esm2"
},
{
"binary_name": "libspring-web-portlet-java",
"binary_version": "3.0.6.RELEASE-13ubuntu0.1~esm2"
},
{
"binary_name": "libspring-web-servlet-java",
"binary_version": "3.0.6.RELEASE-13ubuntu0.1~esm2"
},
{
"binary_name": "libspring-web-struts-java",
"binary_version": "3.0.6.RELEASE-13ubuntu0.1~esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "libspring-java",
"purl": "pkg:deb/ubuntu/libspring-java@3.0.6.RELEASE-13ubuntu0.1~esm2?arch=source\u0026distro=esm-infra-legacy/trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.0.6.RELEASE-7",
"3.0.6.RELEASE-8",
"3.0.6.RELEASE-9",
"3.0.6.RELEASE-10",
"3.0.6.RELEASE-11",
"3.0.6.RELEASE-12",
"3.0.6.RELEASE-13",
"3.0.6.RELEASE-13ubuntu0.1~esm1",
"3.0.6.RELEASE-13ubuntu0.1~esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libspring-aop-java",
"binary_version": "3.2.13-5ubuntu0.1~esm1"
},
{
"binary_name": "libspring-beans-java",
"binary_version": "3.2.13-5ubuntu0.1~esm1"
},
{
"binary_name": "libspring-context-java",
"binary_version": "3.2.13-5ubuntu0.1~esm1"
},
{
"binary_name": "libspring-context-support-java",
"binary_version": "3.2.13-5ubuntu0.1~esm1"
},
{
"binary_name": "libspring-core-java",
"binary_version": "3.2.13-5ubuntu0.1~esm1"
},
{
"binary_name": "libspring-expression-java",
"binary_version": "3.2.13-5ubuntu0.1~esm1"
},
{
"binary_name": "libspring-instrument-java",
"binary_version": "3.2.13-5ubuntu0.1~esm1"
},
{
"binary_name": "libspring-jdbc-java",
"binary_version": "3.2.13-5ubuntu0.1~esm1"
},
{
"binary_name": "libspring-jms-java",
"binary_version": "3.2.13-5ubuntu0.1~esm1"
},
{
"binary_name": "libspring-orm-java",
"binary_version": "3.2.13-5ubuntu0.1~esm1"
},
{
"binary_name": "libspring-oxm-java",
"binary_version": "3.2.13-5ubuntu0.1~esm1"
},
{
"binary_name": "libspring-test-java",
"binary_version": "3.2.13-5ubuntu0.1~esm1"
},
{
"binary_name": "libspring-transaction-java",
"binary_version": "3.2.13-5ubuntu0.1~esm1"
},
{
"binary_name": "libspring-web-java",
"binary_version": "3.2.13-5ubuntu0.1~esm1"
},
{
"binary_name": "libspring-web-portlet-java",
"binary_version": "3.2.13-5ubuntu0.1~esm1"
},
{
"binary_name": "libspring-web-servlet-java",
"binary_version": "3.2.13-5ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "libspring-java",
"purl": "pkg:deb/ubuntu/libspring-java@3.2.13-5ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.2.13-3",
"3.2.13-4",
"3.2.13-5",
"3.2.13-5ubuntu0.1~esm1"
]
}
],
"aliases": [],
"details": "Both Spring Security 3.2.x, 4.0.x, 4.1.0 and the Spring Framework 3.2.x, 4.0.x, 4.1.x, 4.2.x rely on URL pattern mappings for authorization and for mapping requests to controllers respectively. Differences in the strictness of the pattern matching mechanisms, for example with regards to space trimming in path segments, can lead Spring Security to not recognize certain paths as not protected that are in fact mapped to Spring MVC controllers that should be protected. The problem is compounded by the fact that the Spring Framework provides richer features with regards to pattern matching as well as by the fact that pattern matching in each Spring Security and the Spring Framework can easily be customized creating additional differences.",
"id": "UBUNTU-CVE-2016-5007",
"modified": "2025-09-08T16:43:46Z",
"published": "2017-05-25T17:29:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2016-5007"
},
{
"type": "REPORT",
"url": "https://pivotal.io/security/cve-2016-5007"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2016-5007"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2016-5007"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.