Skip to content

Commit 0f95651

Browse files
Fix CVE references in documentation
Co-authored-by: mickeygousset <20031479+mickeygousset@users.noreply.github.com>
1 parent e540521 commit 0f95651

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

DEPENDENCY_ANALYSIS.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ This project demonstrates a vulnerable dependency (`commons-collections:3.2.1`)
99
**Package**: `commons-collections:3.2.1`
1010

1111
**Known Vulnerabilities**:
12-
- CVE-2015-6420: Serialized-object interfaces in certain Cisco Collaboration and Social Media implementations allow remote attackers to execute arbitrary commands
13-
- CVE-2017-15708: InvokerTransformer code was present in commons-collections4 1.0-4.1 which allowed remote code execution
12+
- CVE-2015-7501: Apache Commons Collections InvokerTransformer class allows remote attackers to execute arbitrary Java code via crafted serialized objects
13+
- CVE-2015-6420: Similar remote code execution vulnerability through unsafe deserialization
1414

1515
### Dependency Paths
1616

@@ -54,8 +54,14 @@ Example output:
5454
[INFO] | \- (commons-collections:commons-collections:jar:3.2.1:compile - omitted for duplicate)
5555
[INFO] +- commons-digester:commons-digester:jar:2.1:compile
5656
[INFO] | +- (commons-beanutils:commons-beanutils:jar:1.8.3:compile - omitted for conflict with 1.9.2)
57+
[INFO] | \- (commons-collections:commons-collections:jar:3.2.1:compile - would be included)
5758
```
5859

60+
The key indicators are:
61+
- "omitted for duplicate" means the same dependency version is already included from another path
62+
- "omitted for conflict" means a different version of the same dependency is already included from another path
63+
- Both indicate multiple paths to the same or similar dependencies
64+
5965
### Why This Matters
6066

6167
In real-world scenarios, vulnerable dependencies often appear in multiple paths through the dependency graph. This makes them:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This application contains the following types of security vulnerabilities:
2424
4. **LDAP Injection** - Unescaped user input in LDAP filters
2525
5. **Weak Cryptography** - Use of MD5 and weak random number generation
2626
6. **Hard-coded Secrets** - Embedded credentials and encryption keys
27-
7. **Vulnerable Dependencies** - Uses `commons-collections:3.2.1` which has known deserialization vulnerabilities (CVE-2015-6420, CVE-2017-15708). This dependency appears in multiple paths in the dependency graph:
27+
7. **Vulnerable Dependencies** - Uses `commons-collections:3.2.1` which has known deserialization vulnerabilities (CVE-2015-7501). This dependency appears in multiple paths in the dependency graph:
2828
- As a direct dependency
2929
- As a transitive dependency through `commons-beanutils:1.9.2`
3030
- As a transitive dependency through `commons-digester:2.1``commons-beanutils:1.8.3`

0 commit comments

Comments
 (0)