Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Maven

GHSA-58p8-9g59-q2hr

MEDIUM

GHSA-58p8-9g59-q2hr is a medium-severity (CVSS 6.5) CWE-770 vulnerability in org.apache.cxf:cxf. 4 public exploit references exist, so weaponization risk is real. O3 Security confirms whether GHSA-58p8-9g59-q2hr is actually reachable in your code before you act, and blocks exploitation at runtime until you patch.

Potential DOS attack due to unrestricted attachment count in messages

Also known asCVE-2019-12406
Published
Nov 8, 2019
Updated
Nov 8, 2023
Affected
4 pkgs
Patched
4 / 4
Exploits
4 known

Real-World Exposure

4 pkgs affected
org.apache.cxf:cxforg.apache.cxf:cxforg.apache.cxf:apache-cxforg.apache.cxf:apache-cxf

Real-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 CXF before 3.3.4 and 3.2.11 does not restrict the number of message attachments present in a given message. This leaves open the possibility of a denial of service type attack, where a malicious user crafts a message containing a very large number of message attachments. From the 3.3.4 and 3.2.11 releases, a default limit of 50 message attachments is enforced. This is configurable via the message property "attachment-max-count".

Affected Packages

4 total 4 fixed
EcosystemPackageVulnerable rangeFix
Mavenorg.apache.cxf:cxfall versions3.2.11
Mavenorg.apache.cxf:cxf3.3.0&&< 3.3.43.3.4
Mavenorg.apache.cxf:apache-cxfall versions3.2.11
Mavenorg.apache.cxf:apache-cxf3.3.0&&< 3.3.43.3.4
Exploits & PoCs
4

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.cxf:cxf. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    Update org.apache.cxf:cxf to 3.2.11 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-58p8-9g59-q2hr is resolved across your whole dependency graph.

  3. Workarounds

    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.

  4. How O3 protects you

    O3 pinpoints whether GHSA-58p8-9g59-q2hr is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to GHSA-58p8-9g59-q2hr. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

Apache CXF before 3.3.4 and 3.2.11 does not restrict the number of message attachments present in a given message. This leaves open the possibility of a denial of service type attack, where a malicious user crafts a message containing a very large number of message attachments. From the 3.3.4 and 3.2.11 releases, a default limit of 50 message attachments is enforced. This is configurable via the message property "attachment-max-count".
O3 Security · Impact-Aware SCA

Is GHSA-58p8-9g59-q2hr in your dependencies?

O3 detects GHSA-58p8-9g59-q2hr across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.