NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2025-24783: Apache Cocoon vulnerable to Incorrect Usage of Seeds in Pseudo-Random Number Generator

lowCVSS 4.0 2.7GHSA-pff9-53m5-qr56

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…

Published Jan 27, 2025

Affected packages

org.apache.cocoon:cocoon-forms-impl

Ecosystem
Maven
Affected
<= 2.3.0
Fixed in
No patched version yet
Check
mvn dependency:tree -Dincludes=org.apache.cocoon:cocoon-forms-impl

org.apache.cocoon:cocoon-sitemap-impl

Ecosystem
Maven
Affected
<= 2.3.0
Fixed in
No patched version yet
Check
mvn dependency:tree -Dincludes=org.apache.cocoon:cocoon-sitemap-impl

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology