LOW 7.5

CVE-2025-24783

Apache Cocoon vulnerable to Incorrect Usage of Seeds in Pseudo-Random Number Generator

Description

Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG) vulnerability in Apache Cocoon.

This issue affects Apache Cocoon: all versions.

When a continuation is created, it gets a random identifier. Because the random number generator used to generate these identifiers was seeded with the startup time, it may not have been sufficiently unpredictable, and an attacker could use this to guess continuation ids and look up continuations they should not have had access to.

As a mitigation, you may enable the "session-bound-continuations" option to make sure continuations are not shared across sessions.

As this project is retired, we do not plan to release a version that fixes this issue. Users are recommended to find an alternative or restrict access to the instance to trusted users.

NOTE: This vulnerability only affects products that are no longer supported by the maintainer.

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
org.apache.cocoon » cocoon-forms-impl
<= 2.3.0
-
org.apache.cocoon » cocoon-sitemap-impl
<= 2.3.0
-

Blast radius

2affected artifacts
12affected versions
142dependent artifacts (est.)
469dependent versions

100% of the dependent artifacts (142) still pull an affected version in their latest release.

DepthDependent versions
Direct
21
2 hops
189
3 hops
183
4 hops
76

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.