Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CVEs] Critical and High CEVs reported on PMD dependencies #4633

Closed
shenqinb-star opened this issue Jul 18, 2023 · 1 comment
Closed

[CVEs] Critical and High CEVs reported on PMD dependencies #4633

shenqinb-star opened this issue Jul 18, 2023 · 1 comment
Labels
a:bug PMD crashes or fails to analyse a file.
Milestone

Comments

@shenqinb-star
Copy link

Affects PMD Version:
7.0.0-rc3

Description:

Hi PMD team, We scanned PMD source code with Mend - https://www.mend.io/, it reported 2 critical and 1 high CVEs:
Vulnerable Library: scala-library-2.13.3.jar (/pmd-apex/pom.xml)
Dependency Hierarchy:
image

Severity: Critical
CVE Link: https://www.mend.io/vulnerability-database/CVE-2022-36944

Fixed Version
org.scala-lang:scala-library:2.13.9


Vulnerable Library: snakeyaml-1.33.jar (/pmd-doc/pom.xml)
Dependency Hierarchy:
image

Severity: Critical
CVE Link: https://www.mend.io/vulnerability-database/CVE-2022-1471

Fixed Version
2.0


Vulnerable Library: jcommander-1.48.jar (/pmd-doc/pom.xml)
Dependency Hierarchy:
image

Severity: High
CVE Link: Inclusion of Functionality from Untrusted Control Sphere vulnerability found in jcommander before 1.75. jcommander resolving dependencies over HTTP instead of HTTPS.

Fixed Version
1.75

@shenqinb-star shenqinb-star added the a:bug PMD crashes or fails to analyse a file. label Jul 18, 2023
@jsotuyod jsotuyod added this to the 7.0.0 milestone Oct 21, 2023
@jsotuyod
Copy link
Member

scala-library was upgraded to 2.13.9 back in #4138 and then to 2.13.12 in #4696
jcommander has not been used in PMD 7, and is no longer shipped transitively either as the designer was updated in #4695
snakeyaml is not shipped with PMD, and is only used during local builds to load and update https://github.com/pmd/pmd/blob/master/docs/_data/sidebars/pmd_sidebar.yml based on existing languages and rulesets. Such usage is completely safe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:bug PMD crashes or fails to analyse a file.
Projects
None yet
Development

No branches or pull requests

2 participants