Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: pax-logging-log4j2 ranges affected by CVE-2021-45046 #5521

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

Conversation

ppkarwasz
Copy link

This PR fixes the ranges of pax-logging-log4j2 affected by CVE-2021-45046.

In my previous PRs for CVE-2021-45046 (#5502) all versions 1.x of pax-logging-log4j2 were listed as affected. As it turns out, this is incorrect, since 7 security releases of version 1.x were created after December 2021, as summarized by the table below:

PAX Logging version Log4j Core version Fixed CVEs
1.9.2 2.12.4 all 4 CVEs
1.10.8 2.12.2 CVE-2021-44228, CVE-2021-45046
1.10.9 2.12.4 CVE-2021-45105, CVE-2021-44832
1.11.10 2.15.0 CVE-2021-44228
1.11.11 2.16.0 CVE-2021-45046
1.11.12 2.17.0 CVE-2021-45105
1.11.13 2.17.1 CVE-2021-44832

This PR fixes the ranges of `pax-logging-log4j2` affected by CVE-2021-45046.

In my previous PRs for CVE-2021-45046 (github#5502) all versions 1.x of `pax-logging-log4j2` were listed as affected. As it turns out, this is incorrect, since 7 security releases of version 1.x were created to address those issues, as summarized by the table below:

| PAX Logging version | Log4j Core version | Fixed CVEs                     |
|---------------------|--------------------|--------------------------------|
| 1.9.2               | 2.12.4             | all 4 CVEs                     |
| 1.10.8              | 2.12.2             | CVE-2021-44228, CVE-2021-45046 |
| 1.10.9              | 2.12.4             | CVE-2021-45105, CVE-2021-44832 |
| 1.11.10             | 2.15.0             | CVE-2021-44228                 |
| 1.11.11             | 2.16.0             | CVE-2021-45046                 |
| 1.11.12             | 2.17.0             | CVE-2021-45105                 |
| 1.11.13             | 2.17.1             | CVE-2021-44832                 |
@Copilot Copilot AI review requested due to automatic review settings May 9, 2025 10:46
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the version ranges for the Maven package "org.ops4j.pax.logging:pax-logging-log4j2" to precisely reflect which 1.x and 2.x releases are affected by CVE‑2021‑45046.

  • Added a range for versions introduced in 1.10.0 with a fix in 1.10.8
  • Added a range for versions introduced in 1.11.0 with a fix in 1.11.11
  • Added a range for versions introduced in 2.0.0 with a fix in 2.0.12
Comments suppressed due to low confidence (1)

advisories/github-reviewed/2021/12/GHSA-7rjr-3q55-vv33/GHSA-7rjr-3q55-vv33.json:68

  • [nitpick] Consider adding an inline comment to clarify the rationale for splitting the version ranges to reflect the distinct security fixes, referencing the detailed release table in the PR description.
{ "fixed": "1.9.2" }

@github-actions github-actions bot changed the base branch from main to ppkarwasz/advisory-improvement-5521 May 9, 2025 10:47
@advisory-database advisory-database bot merged commit 71f61d2 into github:ppkarwasz/advisory-improvement-5521 May 9, 2025
2 checks passed
@advisory-database
Copy link
Contributor

Hi @ppkarwasz! Thank you so much for contributing to the GitHub Advisory Database. This database is free, open, and accessible to all, and it's people like you who make it great. Thanks for choosing to help others. We hope you send in more contributions in the future!

@ppkarwasz ppkarwasz deleted the pax-logging-1/cve-2021-45046 branch May 9, 2025 12:47
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.

1 participant