forcedotcom / forcedotcom/wsc

Security issue in dependency - CWE-674 (uncontrolled recursion)

Open
#339 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
276
Forks
223
PR merge metrics
No merged PRs in 30d

Description

Hi there,

Some scanning tools are reporting that commons-beanutils 1.9.4 uses a version of commons-collections (3.2.2) that's potentially vulnerable to stack overflow. More details here: https://issues.apache.org/jira/browse/COLLECTIONS-701

I tried updating the version of beanutils to beanutils2 2.0.0-M1, which uses collections 4.5.0-M3 where the issue has been fixed. It was a minor code change and the unit tests seem happy. I'll raise a PR and link to this issue shortly if that would help.

Many thanks,
James

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the dependency declaration for commons-beanutils 1.9.4 and the code changed by the attempted beanutils2 2.0.0-M1 update. Run the existing unit tests, then confirm the dependency resolves commons-collections 4.5.0-M3 and that the tests still pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.