AI and data stack advisories

1 critical this month · 294 projects

Apache StormCrawler: mass assignment

Apache Software Foundation

CVE-2026-82445 · Published Nov 24, 2026 · updated Nov 25, 2026

High7.2
Fix: upgrade to 4.0.0 or later

Description

The SQL status backend serialises per-URL metadata into a single column by concatenating a tabulation, the key, an equals sign and the value, with no escaping. On read-back the string is split on the same two characters, so the round trip is not injective: a value that contains a tabulation returns as one or more additional keys that were never written.

Values on that path are supplied by crawled servers. FetcherBolt records the raw Location header of a redirect as _redirTo, and _redirTo is part of the default metadata.persist set, so a redirect whose Location contains a tabulation followed by key=value pairs introduces those keys into the crawler's own control metadata on the next scheduling cycle. Several control keys are read without a prefix, so the injected keys are live: http.proxy.host, http.proxy.port, http.proxy.user and http.proxy.pass among them, as well as scheduling and request-shaping keys such as depth, max.depth, crawl.delay, http.content.limit and isSitemap.

Where a proxy manager is configured, the consequence is not limited to corrupted scheduling data. SingleProxyManager.getProxy(Metadata) consults the per-URL metadata first and returns what it finds, so an injected proxy host and port take precedence over the operator's configured proxy and subsequent fetches, together with any configured Authorization...

Affected versions

PackageAffectedFixed in
Apache StormCrawler
Product
>= 3.0.0, < 4.0.04.0.0
Details and references

Description The SQL status backend serialises per-URL metadata into a single column by concatenating a tabulation, the key, an equals sign and the value, with no escaping. On read-back the string is split on the same two characters, so the round trip is not injective: a value that contains a tabulation returns as one or more additional keys that were never written. Values on that path are supplied by crawled servers. `FetcherBolt` records the raw `Location` header of a redirect as `_redirTo`, and `_redirTo` is part of the default `metadata.persist` set, so a redirect whose `Location` contains a tabulation followed by `key=value` pairs introduces those keys into the crawler's own control metadata on the next scheduling cycle. Several control keys are read without a prefix, so the injected keys are live: `http.proxy.host`, `http.proxy.port`, `http.proxy.user` and `http.proxy.pass` among them, as well as scheduling and request-shaping keys such as `depth`, `max.depth`, `crawl.delay`, `http.content.limit` and `isSitemap`. Where a proxy manager is configured, the consequence is not limited to corrupted scheduling data. `SingleProxyManager.getProxy(Metadata)` consults the per-URL metadata first and returns what it finds, so an injected proxy host and port take precedence over the operator's configured proxy and subsequent fetches, together with any configured `Authorization` header, are routed through a host the crawled content chose. A related defect in `AbstractStatusUpdaterBolt` compounds this: an injected `status.store.as.is.with.nextfetchdate` that is not a valid instant escapes the enclosing try/catch and stops the bolt, and because the stored row is replayed the failure repeats. Deployments using the OpenSearch or Solr status backends are unaffected, because those serialise metadata structurally. Mitigation Upgrade to 4.0.0, where the metadata column is written in an escaped form behind a format marker, rows written by earlier versions are still decoded unchanged, and the stored next-fetch-date is parsed defensively. The fix does not repair rows written before the upgrade. Operators using the SQL status backend should inspect the metadata column of an existing status table for tabulation characters and remove the affected rows, and should assume any proxy credentials configured for the crawl may have been exercised through an attacker-chosen proxy and rotate them. Users who cannot upgrade immediately can remove `_redirTo` from `metadata.persist` to close the demonstrated path, though other crawled values reaching persisted metadata remain. Credit Independently reported to the Apache StormCrawler PMC by n0mi1k, with a proof of concept. Also found by the ASF -- using Claude agents to study the security of open-source projects, validated and reported by Apache StormCrawler.

CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Severity from
CISA (its enrichment of the CVE record)
Weakness
CWE-915

More Apache Software Foundation advisories

All Apache Software Foundation
CVE-2026-86154Nov 24Apache Jena: stack buffer overflowA vulnerability in Apache Jena allows arbitrary stack usage when parsing RDF Turtle-family languages. This issue affects Apache Jena: through 6.2.0. Users are recommended to upgrade to version 6.3.UnratedNo fix yetCVE-2026-86155Nov 24Apache Jena Fuseki: server-side request forgeryA vulnerability in Apache Jena Fuseki in the SHACL validation functionality cause server side request forgery (SSRF). This issue affects Apache Jena Fuseki: through 6.2.0.Critical10.0No fix yetCVE-2026-86156Nov 24Apache Jena Fuseki: path traversalImproper Limitation of a Pathname to a Restricted Directory ('Path Traversal') can allow SPARQL Update to access data from local server. This issue affects Apache Jena Fuseki through 6.2.0.Medium4.0No fix yetCVE-2026-129959Nov 24Apache Karaf: privilege escalationWhen sftpEnabled=true (the default configuration in etc/org.apache.karaf.shell.cfg), the SSH server exposes the karaf.High8.8No fix yetCVE-2026-124324Nov 24Apache Jena Fuseki: improper privilege managementA vulnerability in Apache Jena Fuseki allows SERVICE operations to bypass restrictions on administration operations. This issue affects Apache Jena Fuseki: from through 6.2.0.UnratedNo fix yetCVE-2026-120502Nov 24Apache Jena: unsafe deserializationA vulnerability in Apache Jena can cause excess memory allocation from malicious Thrift data. This issue affects Apache Jena: through 6.2.0. Users are recommended to upgrade to version 6.3.High7.5No fix yet