CVE-2025-24783
HIGH 7.5CVSS 3.1Apache Cocoon vulnerable to Incorrect Usage of Seeds in Pseudo-Random Number Generator
** UNSUPPORTED WHEN ASSIGNED ** 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.
- Published
- 27 Jan 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Analyzed
- Weakness
- CWE-335
- Also known as
- GHSA-pff9-53m5-qr56
- Sources
- NVDJSONOSV GHSA-pff9-53m5-qr56JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | cocooncpe:2.3:a:apache:cocoon:*:*:*:*:*:*:*:* |
all versions | |
| OSV | Maven | org.apache.cocoon:cocoon-forms-impl | <= 2.3.0 | |
| OSV | Maven | org.apache.cocoon:cocoon-sitemap-impl | <= 2.3.0 |
References
- https://lists.apache.org/thread/pk86jp5cvn41432op8wv1k8p14mp27nz · Mailing List, Vendor Advisory, WEB
- http://www.openwall.com/lists/oss-security/2025/01/27/3 · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-24783 · ADVISORY
- https://github.com/apache/cocoon · PACKAGE
- https://github.com/apache/cocoon/blob/32a4e41183ba74351d85060011151b2d58acfc52/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/formmodel/CaptchaField.java#L70 · WEB
- https://github.com/apache/cocoon/blob/32a4e41183ba74351d85060011151b2d58acfc52/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/components/flow/ContinuationsManagerImpl.java#L112 · WEB
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 27 Jan 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 27 Jan 2025)