StormCrawlerで巡回範囲の制限が無効に、修正版あり
Summary
Apache StormCrawlerのHostURLFilterでドメイン単位の制限だけを設定していると、制限が働かず、除外したいホストまで巡回します。自前でクローラーを運用している組織は、版と設定を確認し、修正版への更新か設定の明示を進めてください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Apache StormCrawlerのHostURLFilterでドメイン単位の制限だけを設定していると、制限が働かず、除外したいホストまで巡回します。自前でクローラーを運用している組織は、版と設定を確認し、修正版への更新か設定の明示を進めてください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Apache Software FoundationApache StormCrawler |
≥ 3.0.0, < 4.0.0→ 4.0.0 |
4.0.0 |
Original description The description as published by the source.
Description
HostURLFilter.configure reads the ignoreOutsideDomain parameter but tests the node belonging to
ignoreOutsideHost when deciding whether the domain mode was configured. A filter configuration that
names only ignoreOutsideDomain, which the class documentation presents as an independent mode, is
therefore discarded: the flag is forced to false, filter short-circuits on its guard and every URL is
returned unchanged. The filter enforces nothing while appearing to be configured, and the failure is
silent. The mirror-image configuration, naming only ignoreOutsideHost, fails with a
NullPointerException while the topology is starting.
The effect is the loss of a scope control the operator configured, so a crawled page's outlinks are
followed to hosts the operator intended to exclude. Impact beyond crawl scope depends on what the
crawler then fetches and is not claimed here. Projects generated from the StormCrawler Maven archetypes
are not affected, because all three shipped filter configurations set both parameters.
Mitigation
Upgrade to 4.0.0, where each parameter is tested independently. Operators whose configuration sets only
ignoreOutsideDomain will find the crawl restricted to the source domain, as configured, which may
reduce the number of outlinks accepted.
Users who cannot upgrade immediately should set both ignoreOutsideHost and ignoreOutsideDomain
explicitly in the HostURLFilter configuration, which produces the intended behaviour on af…
Source: oss-security (Openwall) NVD GitHub Advisory