GHSA-2Q57-JGF3-8C43
Vulnerability from github – Published: 2026-11-24 12:32 – Updated: 2026-11-25 18:30Description
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.
{
"affected": [],
"aliases": [
"CVE-2026-82445"
],
"database_specific": {
"cwe_ids": [
"CWE-915"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-24T11:17:21Z",
"severity": "HIGH"
},
"details": "Description\n\nThe SQL status backend serialises per-URL metadata into a single column by concatenating a tabulation,\nthe key, an equals sign and the value, with no escaping. On read-back the string is split on the same\ntwo characters, so the round trip is not injective: a value that contains a tabulation returns as one\nor more additional keys that were never written.\n\nValues on that path are supplied by crawled servers. `FetcherBolt` records the raw `Location` header of\na redirect as `_redirTo`, and `_redirTo` is part of the default `metadata.persist` set, so a redirect\nwhose `Location` contains a tabulation followed by `key=value` pairs introduces those keys into the\ncrawler\u0027s own control metadata on the next scheduling cycle. Several control keys are read without a\nprefix, so the injected keys are live: `http.proxy.host`, `http.proxy.port`, `http.proxy.user` and\n`http.proxy.pass` among them, as well as scheduling and request-shaping keys such as `depth`,\n`max.depth`, `crawl.delay`, `http.content.limit` and `isSitemap`.\n\nWhere a proxy manager is configured, the consequence is not limited to corrupted scheduling data.\n`SingleProxyManager.getProxy(Metadata)` consults the per-URL metadata first and returns what it finds,\nso an injected proxy host and port take precedence over the operator\u0027s configured proxy and subsequent\nfetches, together with any configured `Authorization` header, are routed through a host the crawled\ncontent chose. A related defect in `AbstractStatusUpdaterBolt` compounds this: an injected\n`status.store.as.is.with.nextfetchdate` that is not a valid instant escapes the enclosing try/catch and\nstops the bolt, and because the stored row is replayed the failure repeats.\n\nDeployments using the OpenSearch or Solr status backends are unaffected, because those serialise\nmetadata structurally.\n\nMitigation\n\nUpgrade to 4.0.0, where the metadata column is written in an escaped form behind a format marker, rows\nwritten by earlier versions are still decoded unchanged, and the stored next-fetch-date is parsed\ndefensively.\n\nThe fix does not repair rows written before the upgrade. Operators using the SQL status backend should\ninspect the metadata column of an existing status table for tabulation characters and remove the\naffected rows, and should assume any proxy credentials configured for the crawl may have been exercised\nthrough an attacker-chosen proxy and rotate them. Users who cannot upgrade immediately can remove\n`_redirTo` from `metadata.persist` to close the demonstrated path, though other crawled values reaching\npersisted metadata remain.\n\nCredit\n\nIndependently reported to the Apache StormCrawler PMC by n0mi1k, with a proof of concept.\n\nAlso found by the ASF -- using Claude agents to study the security of open-source projects, validated\nand reported by Apache StormCrawler.",
"id": "GHSA-2q57-jgf3-8c43",
"modified": "2026-11-25T18:30:42Z",
"published": "2026-11-24T12:32:00Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-82445"
},
{
"type": "WEB",
"url": "https://lists.apache.org/thread/mt2623d6k6v7xqdmgsko04qqs4ffrgt5"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2026/11/23/23"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
}
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.