Apache Cocoon: SQL injection in DatabaseCookieAuthenticatorAction
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-89.
Summary
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Apache Cocoon.This issue affects Apache Cocoon: from 2.2.0 before 2.3.0. Users are recommended to upgrade to version 2.3.0, which fixes the issue.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Cocoon | 2.2.0 to before 2.3.0 | 2.3.0 | Patch available | CNA |
| — | org.apache.cocoon:cocoon (Maven) | 2.2.0 to before 2.3.0 | 2.3.0 | Patch available | GHSA-8v4w-jr33-4rh3 |
- Apache Cocoon VendorApache Affected 2.2.0 to before 2.3.0 Fixed in 2.3.0 Patch available CNA
- org.apache.cocoon:cocoon (Maven) Vendor— Affected 2.2.0 to before 2.3.0 Fixed in 2.3.0 Patch available GHSA-8v4w-jr33-4rh3
Remediation
- Fix · CNA Apache Cocoon (Apache Software Foundation) Fixed in 2.3.0
- Fix · GHSA-8v4w-jr33-4rh3 org.apache.cocoon:cocoon (Maven) Fixed in 2.3.0 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Apache Cocoon 2.3.0
2 records Highest priority Priority MEDIUM 2 MEDIUM
Other records, highest priority first
- TI-2023-27144 Apache Cocoon's StreamGenerator is vulnerable to XXE injectionPriority MEDIUM 45
Timeline
- 2026-10-02 Threatist record created from CVE-2022-45135
- 2026-10-03 Alias added: GHSA-8v4w-jr33-4rh3
References
More Apache Cocoon vulnerabilities
- TI-2020-09651 XML external entity injection in Apache Cocoon CVSS 3.1HIGH 7.5
- TI-2003-01074 Directory traversal vulnerability in the view-source sample file in Apache Software… CVSS 2.0MEDIUM 5.0
- TI-2023-27144 Apache Cocoon's StreamGenerator is vulnerable to XXE injection CVSS 3.1CRITICAL 9.8
- TI-2025-18500 Apache Cocoon: continuations may not be private CVSS 3.1HIGH 7.5
Sources
- CVE-2022-45135 · CVE Program
- CVE-2022-45135 · NVD
- FIRST EPSS
- GHSA-8v4w-jr33-4rh3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences