fix(deps): update dependency org.assertj:assertj-core to v3.27.7 [security] - #35
Conversation
|
🚨 Stale Pull Request Warning This pull request has been inactive for 33 days. Automated Actions Schedule:
To keep this PR active:
Protected branches (won't be deleted): This is an automated message. Reply to this comment to reset the inactivity timer. |
|
🚨 Stale Pull Request Warning This pull request has been inactive for 35 days. Automated Actions Schedule:
To keep this PR active:
Protected branches (won't be deleted): This is an automated message. Reply to this comment to reset the inactivity timer. |
PR Assist Bot — Owner Approval NeededThis PR targets release branch PR: AlaudaDevops/docker-sonarqube#35 Please reply with |
|
[pr-assist-bot] Release Branch Security PR — Owner Approval Needed This PR targets release branch PR: #35 — fix(deps): update dependency org.assertj:assertj-core to v3.27.7 [security] Please reply with |
|
/retest |
2 similar comments
|
/retest |
|
/retest |
PR Assist Bot AnalysisFailure Type: Infrastructure / Repository Access |
PR Assist Bot AnalysisFailure Type: Infrastructure/Transient (git-clone network timeout) Root Cause: Both checks fail at the Recommendation: Manual investigation needed — 3 retest attempts exhausted with the same network timeout. The build cluster's GitHub connectivity should be investigated. Other docker-sonarqube PRs (#29, #31, #32, #34) targeting the same branch have fully passing CI and may be merged once owner approval is given. |
|
🚨 Stale Pull Request Warning This pull request has been inactive for 32 days. Automated Actions Schedule:
To keep this PR active:
Protected branches (won't be deleted): This is an automated message. Reply to this comment to reset the inactivity timer. |
|
🚨 Stale Pull Request Warning This pull request has been inactive for 35 days. Automated Actions Schedule:
To keep this PR active:
Protected branches (won't be deleted): This is an automated message. Reply to this comment to reset the inactivity timer. |
This PR contains the following updates:
3.26.3->3.27.7AssertJ has XML External Entity (XXE) vulnerability when parsing untrusted XML via isXmlEqualTo assertion
CVE-2026-24400 / GHSA-rqfh-9r24-8c9r
More information
Details
An XML External Entity (XXE) vulnerability exists in
org.assertj.core.util.xml.XmlStringPrettyFormatter: thetoXmlDocument(String)method initializesDocumentBuilderFactorywith default settings, without disabling DTDs or external entities. This formatter is used by theisXmlEqualTo(CharSequence)assertion forCharSequencevalues.An application is vulnerable only when it uses untrusted XML input with one of the following methods:
isXmlEqualTo(CharSequence)fromorg.assertj.core.api.AbstractCharSequenceAssertxmlPrettyFormat(String)fromorg.assertj.core.util.xml.XmlStringPrettyFormatterImpact
If untrusted XML input is processed by the methods mentioned above (e.g., in test environments handling external fixture files), an attacker could:
file://URIs (e.g.,/etc/passwd, application configuration files)Mitigation
isXmlEqualTo(CharSequence)has been deprecated in favor of XMLUnit in version 3.18.0 and will be removed in version 4.0. Users of affected versions should, in order of preference:isXmlEqualTo(CharSequence)with XMLUnit, orisXmlEqualTo(CharSequence)orXmlStringPrettyFormatterwith untrusted input.XmlStringPrettyFormatterhas historically been considered a utility forisXmlEqualTo(CharSequence)rather than a feature for AssertJ users, so it is deprecated in version 3.27.7 and removed in version 4.0, with no replacement.References
Severity
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:H/SI:N/SA:NReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Configuration
📅 Schedule: Branch creation - "" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.