Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.cocoon/cocoon-forms-impl
  4. ›
  5. CVE-2025-24783

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

January 27, 2025

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

  • github.com/advisories/GHSA-pff9-53m5-qr56
  • github.com/apache/cocoon
  • github.com/apache/cocoon/blob/32a4e41183ba74351d85060011151b2d58acfc52/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/formmodel/CaptchaField.java
  • github.com/apache/cocoon/blob/32a4e41183ba74351d85060011151b2d58acfc52/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/components/flow/ContinuationsManagerImpl.java
  • lists.apache.org/thread/pk86jp5cvn41432op8wv1k8p14mp27nz
  • nvd.nist.gov/vuln/detail/CVE-2025-24783

Code Behaviors & Features

Detect and mitigate CVE-2025-24783 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 2.3.0

Solution

Unfortunately, there is no solution available yet.

Weakness

  • CWE-335: Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)

Source file

maven/org.apache.cocoon/cocoon-forms-impl/CVE-2025-24783.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:13 +0000.