WaratekVRT Sign in

CVE-2022-40705 Apache SOAP

Affected softwareApache SOAP
Severity7.5 High CVSS 3.1 2 scores
WeaknessXML external entity (XXE) (CWE-611)
Published22 Sep 2022
Updated17 Jun 2026

Tagged unsupported-when-assigned. The affected software was already out of support when the CVE was assigned.

Description

An Improper Restriction of XML External Entity Reference vulnerability in RPCRouterServlet of Apache SOAP allows an attacker to read arbitrary files over HTTP. This issue affects Apache SOAP version 2.2 and later versions. It is unknown whether previous versions are also affected. NOTE: This vulnerability only affects products that are no longer supported by the maintainer

Exploitation status

No public exploit

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

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

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full XXE
  • Action available security rule
  • Review automated Inferred
  • Record active unsupported-when-assigned
Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR xxe 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-611: XML External Entity Reference.

How to mitigate CVE-2022-40705

Apply the vendor's fix for Apache SOAP. Until you can, Waratek RASP blocks exploitation with its XXE rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

7.5 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N 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 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N NVD Primary published
CVSS 3.1 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CISA-ADP Secondary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update July 2023 ↗ CPU 2023-Q3 Oracle Analytics / Security (Apache CXF) (6.4.0.0.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Analytics Security (Apache CXF) 6.4.0.0.0 6.4.0.0.0

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
soap:soap 2.2 none 2.3.1

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
nvd apache soap generic ≥ 2.2
osv soap soap generic ≥ 2.2 and ≤ 2.3.1

References

URLTags
https://lists.apache.org/thread/02yo04w93rdjmllz4454lvodn5xzhwhl WEB
http://www.openwall.com/lists/oss-security/2022/09/22/1 WEB

Timeline

Published2022-09-22By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.