CVE-2022-32549 — org.apache.sling.commons.…
MEDIUMCVE-2022-32549 is a medium-severity (CVSS 5.3) CWE-117 vulnerability in org.apache.sling:org.apache.sling.commons.log. The records list no fixed version yet; check the vendor advisory below and apply the mitigations in the meantime.
log injection in Sling logging
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.apache.sling:org.apache.sling.commons.log☕org.apache.sling:org.apache.sling.apiReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Apache Sling Commons Log <= 5.4.0 and Apache Sling API <= 2.25.0 are vulnerable to log injection. The ability to forge logs may allow an attacker to cover tracks by injecting fake logs and potentially corrupt log files.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.sling:org.apache.sling.commons.log | all versions | No fix |
| ☕Maven | org.apache.sling:org.apache.sling.api | all versions | No fix |
Affected Products
sling apiapachesling commons logapacheDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.sling:org.apache.sling.commons.log, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Remediation status
The records we use list no patched version of org.apache.sling:org.apache.sling.commons.log for CVE-2022-32549. Check the maintainer's advisory, and where your build allows, override or pin the dependency away from the vulnerable range.
Mitigate without a patch
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is CVE-2022-32549 in your dependencies?
Find it across Maven, including transitive dependencies.