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

[core] Refactor usage of snakeyaml #4329

Merged
merged 1 commit into from
Jan 26, 2023
Merged

Conversation

adangel
Copy link
Member

@adangel adangel commented Jan 12, 2023

It was a dependency via apex-jorje, but there snakeyaml is actually not needed.

During generating doc, we use snakeyaml to load the sidebar and modify it. The code has been adjusted to use SafeConstructor to mitigate the risk.

Ready?

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by github actions)
  • Added (in-code) documentation (if needed)

It was a dependency via apex-jorje, but there snakeyaml is actually not needed.

During generating doc, we use snakeyaml to load the sidebar and modify it. The code has been adjusted to use SafeConstructor to mitigate the risk.

Fixes https://github.com/pmd/pmd/security/dependabot/33
Fixes CVE-2022-1471
Fixes GHSA-mjmj-j48q-9wg2
@adangel adangel added this to the 6.54.0 milestone Jan 12, 2023
@pmd-test
Copy link

1 Message
📖 No regression tested rules have been changed.

Generated by 🚫 Danger

@adangel adangel merged commit 473241b into pmd:master Jan 26, 2023
@adangel adangel deleted the refactor-snakeyml branch January 30, 2023 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants