WaratekVRT Sign in

CVE-2022-45135 Apache Cocoon

Affected softwareApache Cocoon
Severity9.8 Critical CVSS 3.1 2 scores
Fixed in2.3.0
WeaknessSQL injection (CWE-89)
Published30 Nov 2023
Updated17 Jun 2026

Description

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 2 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 1.1% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR sql-injection security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-89: SQL Injection.

How to mitigate CVE-2022-45135

Upgrade Apache Cocoon to 2.3.0 or later. Until you can, Waratek RASP blocks exploitation with its SQL injection rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

9.8 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CISA-ADP Secondary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.cocoon:cocoon 2.2.0 2.3.0 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
nvd apache cocoon generic ≥ 2.2.0 and < 2.3.0
osv org.apache.cocoon cocoon generic ≥ 2.2.0 and < 2.3.0

References

URLTags
https://github.com/apache/cocoon PACKAGE
https://lists.apache.org/thread/lsvd1hmr2t2q823x21d5ygzgbj9jpvjp WEB
http://www.openwall.com/lists/oss-security/2023/11/30/3 WEB

Timeline

Published2023-11-30By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.