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)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.cocoon » cocoon-forms-impl | <= 2.3.0 | - |
| org.apache.cocoon » cocoon-sitemap-impl | <= 2.3.0 | - |
Blast radius
100% of the dependent artifacts (142) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 21 |
| 2 hops | 189 |
| 3 hops | 183 |
| 4 hops | 76 |
Most used dependents
- org.apache.cocoon » cocoon-core79 usages
- org.apache.cocoon » cocoon-samples-style-default43 usages
- org.apache.cocoon » cocoon-servlet-service-components21 usages
- org.apache.cocoon » cocoon-template-impl16 usages
- org.apache.cocoon » cocoon-flowscript-impl15 usages
- org.apache.cocoon » cocoon-core-main-sample12 usages
- org.dspace » dspace-xmlui-api9 usages
- org.apache.cocoon » cocoon-forms-impl8 usages
- org.apache.cocoon » cocoon-ajax-impl8 usages
- org.apache.cocoon » cocoon-batik-impl6 usages
- org.apache.cocoon » cocoon-xsp-impl5 usages
- org.dspace.xmlui » xmlui-dri5 usages
- org.dspace » dspace-xmlui3 usages
- org.apache.cocoon » cocoon-auth-impl3 usages
- org.apache.cocoon » cocoon-linkrewriter-impl3 usages
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.
References
| Advisory | NVD CVE-2025-24783 | nvd.nist.gov |
| Package | apache/cocoon | github.com |
| Web | apache/cocoon CaptchaField.java | github.com |
| Web | apache/cocoon ContinuationsManagerImpl.java | github.com |
| Web | thread/pk86jp5cvn41432op8wv1k8p14mp27nz | lists.apache.org |
| Web | lists/oss-security/2025/01/27/3 | openwall.com |
