| CVE |
Vendors |
Products |
Updated |
CVSS v3.1 |
| 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 affected
versions.
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. |
| 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 origin is sent to those hosts.
Mitigation
Upgrade to 4.0.0, where a cookie without a `Domain` attribute is sent only to the host that set it, a
single-label domain is rejected and the domain check fails closed. Because the protocol does not yet
record the host that issued a cookie, cookies without a `Domain` attribute are not sent at all until
that host is recorded; operators relying on cookie transfer will notice this. The documentation error
is corrected in the same release.
Users who cannot upgrade immediately should confine an authenticated crawl to a topology whose URL
filters keep it on the origin that issued the credentials, and should not rely on cookie scoping as a
boundary. Rotating session credentials used for such crawls is advisable.
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. |
| 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. |
| Description
When StormCrawler fetches a host's `/robots.txt` and receives a redirect, `HttpRobotRulesParser`
resolves the `Location` header and re-fetches the target for up to five hops. The loop checks neither
the scheme, the host nor the port of the resolved target, and it is not governed by
`http.allow.redirects`, which only affects the page fetch. A crawled site can therefore point the
robots.txt fetch at any address reachable from the fetcher worker, including loopback interfaces,
private ranges and cloud metadata endpoints. Every crawled URL triggers a robots.txt fetch on a cache
miss, so no unusual configuration is required to reach the loop.
The fetched body is only parsed as robots rules and is not returned to the caller, so the read itself
is blind. The more direct impact is on credentials: the okhttp protocol applies its configured request
headers, including the `Authorization` header built from `http.basicauth.user` and
`http.basicauth.password` and anything in `http.custom.headers`, to every request it makes. Because
StormCrawler follows the redirect itself and issues a new request, okhttp's own removal of the
`Authorization` header across a host change does not apply, and the operator's crawl credentials are
delivered to the host the redirect names.
The connection-time IP filter, `http.filter.ipaddress.include` and `http.filter.ipaddress.exclude`, is
installed as an okhttp network interceptor on the same client and does apply to these hops when it is
configured. It ships with no rules, which is why the path is reachable in a default configuration. URL
filtering never applies, because the robots.txt fetch does not pass through the outlink filter chain.
Mitigation
Upgrade to 4.0.0, where a robots.txt redirect is followed only when the target uses http or https and
shares scheme, host and port with the URL it was reached from. Deployments that legitimately serve
robots.txt through a cross-host redirect can restore the previous behaviour with
`http.robots.redirect.crosshost.allow`.
Users who cannot upgrade immediately should set `http.filter.ipaddress.exclude` to cover loopback,
private, link-local and CGNAT ranges, which is enforced after DNS resolution and therefore also on
redirect hops. Operators who configure `http.basicauth.*` or `http.custom.headers` for a crawl should
assume those credentials may have been sent to third-party hosts and rotate them, and should scope
credentials by running a separate topology per origin.
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. |
| Nimbus returns the worker placement of every topology running on a supervisor, including the host, port, owner and resource assignment of topologies the caller is not authorized to read. In a multi-tenant cluster, an authenticated user who is allowed to access Nimbus can learn where the workers of other users' topologies run. Users are recommended to upgrade to version 3.2.0, which fixes the issue. |
| When workers run as the topology owner, the Logviewer serves files that a worker has placed in its own log directory as links to other files. A user who is allowed to submit topologies can read the worker logs of other users' topologies, and other files the Logviewer process can read. Users are recommended to upgrade to version 3.2.0, which fixes the issue. |
| The DRPC HTTP endpoint lets an authenticated client act as another user without applying the configured impersonation authorizer. An authenticated user can execute DRPC functions that are restricted to another user. Users are recommended to upgrade to version 3.2.0, which fixes the issue. |
| Description
Nimbus instantiates the class named by a topology's `topology.scheduler.strategy` when scheduling it. The
allowlist intended to constrain that choice, `nimbus.scheduler.strategy.class.whitelist`, was treated as
"allow any class" when unset, and it had no entry in the shipped `defaults.yaml`, so unset was the shipped
state. An authenticated submitter could therefore cause Nimbus to instantiate any class on the Nimbus
classpath that has a no-argument constructor.
Storm's own production artifacts contain classes with side effects suitable for this: instantiating
`org.apache.storm.testing.InProcessZookeeper` starts a ZooKeeper server with its own threads and sockets
and nothing closes it, and `org.apache.storm.LocalCluster` behaves similarly. Repeated submissions
therefore consume threads, sockets and memory in the most privileged daemon in the cluster.
Mitigation
Upgrade to 3.1.0, where an unset allowlist means the strategies shipped with Storm rather than any class.
Note that this is a behaviour change: a cluster running an out-of-tree scheduler strategy without an
explicit allowlist will have those topologies refused until the class is added to
`nimbus.scheduler.strategy.class.whitelist`. The rejection message names the refused class and the
configuration key.
Users who cannot upgrade immediately should set `nimbus.scheduler.strategy.class.whitelist` explicitly to
the strategies they intend to permit. |
| Description
`DefaultStateSerializer`, used to persist and restore stateful bolt checkpoints, configured Kryo with class
registration disabled and an instantiation strategy that constructs objects without invoking their
constructors, then deserialized whatever bytes the state store returned. A party able to write to the
topology's keyspace in the state store, for example a co-tenant of a shared Redis instance or anyone with
network access to it, could therefore place a serialized object graph that executes code inside the worker
JVM when the state is restored.
This requires the Redis-backed state provider, which is not the default. Write access to a state-store key
is a data-plane privilege; code execution in the worker JVM is not, so the two are not equivalent.
Mitigation
Upgrade to 3.1.0, where the state serializer requires registered classes.
Note that this is a behaviour change for existing state: checkpoints written by an affected version may fail
to restore, and a migration step may be required. Users who cannot upgrade immediately should restrict
network and credential access to the state store to the cluster itself.
Credit
The ASF -- found using Claude agents to study the security of open-source projects, validated and reported by Apache Storm. |
| Description
A submitted topology carries two lists of blobstore keys, `dependency_jars` and `dependency_artifacts`,
which the client fills in after uploading the corresponding blobs. Nimbus performed no validation of their
contents on the submission path, yet acts on them in two places.
During cleanup of a finished topology, Nimbus deletes the keys named in those lists, and the deletion is
performed as the Nimbus subject, for which the blobstore short-circuits its ACL check. A submitter who
listed a key belonging to another topology, such as its `-stormjar.jar`, could therefore cause
that blob to be deleted when their own topology was cleaned up.
Separately, on acquiring leadership a Nimbus compares the dependency keys of all active topologies against
the blobstore contents and surrenders leadership if any is missing. A single key that does not exist, on a
single active topology, therefore causes every Nimbus to acquire leadership, surrender it and requeue
indefinitely, leaving the cluster without a leader and unable to schedule, clean up or accept submissions.
Mitigation
Upgrade to 3.1.0, where a submission is refused unless every entry in both lists is a dependency blob key
and exists in the blobstore.
Note that this validates new submissions only; a topology stored by an affected version with an invalid list
is unaffected by the upgrade. An operator whose cluster is failing to retain a leader should inspect the
Nimbus log for the dependency keys reported as missing and remove or resubmit the topology naming them.
Users who cannot upgrade immediately should restrict topology submission to trusted principals.
Credit
This issue was discovered by rzo1 while investigating an unrelated blobstore defect. |
| Description
Nimbus accepted the `uploadedJarLocation` argument of `submitTopology` / `submitTopologyWithOpts` as a
server-side path and opened it directly, without checking that it referred to a file the caller had
actually uploaded. The intended flow is that a client first calls `beginFileUpload`, which returns a path
inside the Nimbus inbox, and uploads the jar in chunks to that location; nothing bound submission to that
flow, and the `uploaders` map populated by `beginFileUpload` was never consulted at submit time.
An authenticated user with topology submission rights could therefore submit any path readable by the
Nimbus daemon user as their topology jar. Nimbus copied the file into the topology's jar blob, and the
blob ACL grants the submitting subject read access, so the contents could then be retrieved with the
ordinary blob download RPCs. Candidate targets include the Nimbus Kerberos keytab, Thrift and UI TLS
private keys, and `storm.yaml` with the ZooKeeper authentication payload. Possession of the Nimbus keytab
turns an ordinary tenant into a cluster administrator.
In a deployment configured as the documentation recommends, submission is available to every
authenticated principal when `nimbus.users` is unset, so no elevated privilege is required.
Mitigation
Upgrade to 3.1.0, where the submitted location is canonicalised and must resolve inside the Nimbus inbox.
Users who cannot upgrade immediately should restrict topology submission to trusted principals via
`nimbus.users` or `nimbus.groups`, and should treat any file readable by the Nimbus daemon user as
potentially exposed to submitters: rotate the Nimbus keytab and any TLS private keys or ZooKeeper
credentials reachable from that account. Local mode is unaffected.
Credit
Independently reported to the Apache Storm 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 Storm. |
| Description
Nimbus validated `topology.blobstore.map` against the calling subject at submission time only. The rebalance
operation accepts configuration overrides and stripped a small set of keys from them, but never re-ran that
validation, so a caller authorised to rebalance a topology could introduce a blobstore map entry naming a
blob whose ACL does not grant them access. Supervisors localise whatever key the map names, placing the
blob's contents into the topology's working directory.
The same advisory covers `listBlobs`, which performed no authorization check and passed no subject, unlike
the neighbouring `getBlobMeta` and `beginBlobDownload` operations. It therefore returned every key in the
blobstore to any caller able to reach the Nimbus Thrift port, which provides the key names that make the
above practical. On its own the disclosure is metadata only.
Mitigation
Upgrade to 3.1.0, where rebalance configuration overrides are validated exactly as submission-time
configuration is, against the rebalancing caller, and where `listBlobs` applies the configured
authorization.
Users who cannot upgrade immediately should restrict rebalance rights to trusted principals, keeping in mind
that membership of a topology's `topology.users` or `topology.groups` confers them.
Credit
The ASF -- found using Claude agents to study the security of open-source projects, validated and reported by Apache Storm. |
| Description
`SimpleACLAuthorizer` evaluated the user-level command set by returning early when `nimbus.users` was empty,
before `nimbus.groups` was considered. An operator who restricted cluster access by group alone, leaving
`nimbus.users` unset, therefore received no restriction at all: every authenticated principal was permitted
every user-level operation, including `submitTopology`, `beginFileUpload` and `getNimbusConf`.
`docs/SECURITY.md` presents `nimbus.groups` as a supported way to lock down a cluster, so a deployment
following the documentation could believe it was restricted while it was not. The failure is silent; nothing
in the logs or the configuration indicates that the group list is being ignored.
Both lists left empty continues to mean that no restriction is configured, which is the shipped default and
is unchanged.
Mitigation
Upgrade to 3.1.0, where `nimbus.groups` is evaluated whether or not `nimbus.users` is set.
Users who cannot upgrade immediately should additionally populate `nimbus.users` with the intended
principals, since a non-empty user list causes the group list to be evaluated on affected versions.
Operators should review Nimbus access logs for operations by principals outside the intended groups.
Note that after upgrading, a cluster configured with `nimbus.groups` alone becomes restrictive for the first
time. This includes `NimbusClient`, which calls `getLeader` on every connection, so clients outside the
configured groups will begin to be refused.
Credit
The ASF -- found using Claude agents to study the security of open-source projects, validated and reported by Apache Storm. |
| Description
A topology's `topology.blobstore.map` lets the submitter choose a local name for each blob that the
supervisor localises. That name was used to build a path under the topology's working directory without
normalisation, in both `AsyncLocalizer` and `Container.createBlobstoreLinks`, and the symlink helper
force-deletes whatever already exists at the target before creating the link.
A submitter could therefore use `../` segments to direct that delete-and-symlink operation at an arbitrary
path, as the supervisor user, on every node the topology is scheduled onto. The consequences include
recursive deletion of supervisor-owned content and planting a symlink that causes a subsequent worker
launch to execute attacker-chosen code as another tenant's operating-system user, which defeats the
isolation that `supervisor.run.worker.as.user` is intended to provide.
Mitigation
Upgrade to 3.1.0, where the resolved target must lie inside the expected root at both call sites.
Users who cannot upgrade immediately should restrict topology submission to trusted principals, and may
reject submissions whose `topology.blobstore.map` entries contain path separators or `..` segments before
they reach Nimbus.
Credit
The ASF -- found using Claude agents to study the security of open-source projects, validated and reported by Apache Storm. |
| Improper Certificate Validation via Global SSL Context Downgrade in Apache Storm Prometheus Reporter
Versions Affected: from 2.6.3 to 2.8.6
Description:
In production deployments where an administrator enables storm.daemon.metrics.reporter.plugin.prometheus.skip_tls_validation (by default it is disabled) intending to affect only the Prometheus reporter, the undocumented global side effect creates an attack surface across every TLS-protected communication channel in the Storm daemon.
The PrometheusPreparableReporter class implements an INSECURE_TRUST_MANAGER that accepts all SSL certificates without validation, with empty checkClientTrusted and checkServerTrusted methods. Most critically, when the storm.daemon.metrics.reporter.plugin.prometheus.skip_tls_validation configuration option is enabled (default = disabled) for HTTPS Prometheus PushGateway connections, the INSECURE_CONNECTION_FACTORY calls SSLContext.setDefault(sslContext), which globally replaces the JVM's default SSL context rather than applying the insecure context only to the Prometheus connection. This payload flows through storm.yaml configuration → PrometheusPreparableReporter.prepare() → INSECURE_CONNECTION_FACTORY → SSLContext.setDefault(), resulting in a JVM-wide TLS security downgrade. All subsequent HTTPS connections in the process - including ZooKeeper, Thrift, Netty, and UI connections - silently trust all certificates, including self-signed, expired, and attacker-generated ones, enabling man-in-the-middle interception of cluster state, topology submissions, tuple data, and administrative credentials.
Mitigation: 2.x users should upgrade to 2.8.7 if the Prometheus Metrics Reporter is used. Prometheus Metrics Reporter Users who cannot upgrade immediately should remove the storm.daemon.metrics.reporter.plugin.prometheus.skip_tls_validation: true setting from their storm.yaml configuration and instead configure a proper truststore containing the PushGateway's certificate. |
| Improper Handling of TLS Client Authentication Failure Leading to Anonymous Principal Assignment in Apache Storm
Versions Affected: up to 2.8.7
Description: When TLS transport is enabled in Apache Storm without requiring client certificate authentication (the default configuration), the TlsTransportPlugin assigns a fallback principal (CN=ANONYMOUS) if no client certificate is presented or if certificate verification fails. The underlying SSLPeerUnverifiedException is caught and suppressed rather than rejecting the connection.
This fail-open behavior means an unauthenticated client can establish a TLS connection and receive a valid principal identity. If the configured authorizer (e.g., SimpleACLAuthorizer) does not explicitly deny access to CN=ANONYMOUS, this may result in unauthorized access to Storm services. The condition is logged at debug level only, reducing visibility in production.
Impact: Unauthenticated clients may be assigned a principal identity, potentially bypassing authorization in permissive or misconfigured environments.
Mitigation: Users should upgrade to 2.8.7 in which TLS authentication failures are handled in a fail-closed manner.
Users who cannot upgrade immediately should:
- Enable mandatory client certificate authentication (nimbus.thrift.tls.client.auth.required: true)
- Ensure authorization rules explicitly deny access to CN=ANONYMOUS
- Review all ACL configurations for implicit default-allow behavior |
| Deserialization of Untrusted Data vulnerability in Apache Storm.
Versions Affected:
before 2.8.6.
Description:
When processing topology credentials submitted via the Nimbus Thrift API, Storm deserializes the base64-encoded TGT blob using ObjectInputStream.readObject() without any class filtering or validation. An authenticated user with topology submission rights could supply a crafted serialized object in the "TGT" credential field, leading to remote code execution in both the Nimbus and Worker JVMs.
Mitigation:
2.x users should upgrade to 2.8.6.
Users who cannot upgrade immediately should monkey-patch an ObjectInputFilter allow-list to ClientAuthUtils.deserializeKerberosTicket() restricting deserialized classes to javax.security.auth.kerberos.KerberosTicket and its known dependencies. A guide on how to do this is available in the release notes of 2.8.6.
Credit: This issue was discovered by K. |
| Stored Cross-Site Scripting (XSS) via Unsanitized Topology Metadata in Apache Storm UI
Versions Affected: before 2.8.6
Description: The Storm UI visualization component interpolates topology metadata including component IDs, stream names, and grouping values directly into HTML via innerHTML in parseNode() and parseEdge() without sanitization at any layer. An authenticated user with topology submission rights could craft a topology containing malicious HTML/JavaScript in component identifiers (e.g., a bolt ID containing an onerror event handler). This payload flows through Nimbus → Thrift → the Visualization API → vis.js tooltip rendering, resulting in stored cross-site scripting.
In multi-tenant deployments where topology submission is available to less-trusted users but the UI is accessed by operators or administrators, this enables privilege escalation through script execution in an admin's browser session.
Mitigation: 2.x users should upgrade to 2.8.6. Users who cannot upgrade immediately should monkey-patch the parseNode() and parseEdge() functions in the visualization JavaScript file to HTML-escape all API-supplied values including nodeId, :capacity, :latency, :component, :stream, and :grouping before interpolation into tooltip HTML strings, and should additionally restrict topology submission to trusted users via Nimbus ACLs as a defense-in-depth measure. A guide on how to do this is available in the release notes of 2.8.6.
Credit: This issue was discovered while investigating another report by K. |
| It was found that under some situations and configurations of Apache Storm 1.x before 1.0.4 and 1.1.x before 1.1.1, it is theoretically possible for the owner of a topology to trick the supervisor to launch a worker as a different, non-root, user. In the worst case this could lead to secure credentials of the other user being compromised. |
| The UI daemon in Apache Storm 0.10.0 before 0.10.0-beta1 allows remote attackers to execute arbitrary code via unspecified vectors. |