Skip to content
Medium 4.9

Description `CookieConverter.getCookies` decides which stored cookies to attach to an outbound...

CVE-2026-82444 First seen on SecPulse

Affected packages

PackageAffected → Fixed
Apache Software FoundationApache StormCrawler
≥ 3.0.0, < 4.0.0→ 4.0.0
Original description The description as published by the source.

Description

CookieConverter.getCookies decides which stored cookies to attach to an outbound request. The
applicability check is nested inside a test for the presence of a Domain attribute, so a cookie
without one, which is the ordinary form of a session cookie, skips scoping entirely and is returned for
whatever target URL was passed. RFC 6265 requires the opposite: a cookie with no Domain attribute is
host-only and belongs to the host that set it.

Two further defects sit in the same method. The domain comparison has no notion of a registrable
domain, so a Domain value of com matches every host under it, and the comparison returns true when
it throws, so a failure to evaluate the check admits the cookie. Neither the converter nor
MetadataTransfer, which carries the stored cookie to outlinks, ever considers the host that issued
it.

Cookie handling is opt-in: it requires http.use.cookies to be set to true, which is not the default,
and the cookie key to be listed in metadata.transfer. The documented recipe does not work as written,
because the metadata.transfer example in the internals documentation names set-cookie while the key
present in metadata is protocol.set-cookie and the transfer matches key names exactly. Deployments
affected are therefore those where an operator determined the correct key, enabled cookie handling and
crawls an authenticated site whose pages link or redirect to other hosts. In that case the session
cookie of the authenticated…

Source: oss-security (Openwall) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details