git: 9f5786f381e0 - main - security/vuxml: Use of Cryptographically Weak Pseudo-Random Number Generator in p5-Crypt-CBC

From: Rodrigo Osorio <rodrigo_at_FreeBSD.org>
Date: Tue, 29 Jul 2025 20:28:27 UTC
The branch main has been updated by rodrigo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9f5786f381e0c67bf6f026863f5971b3ebc11cbe

commit 9f5786f381e0c67bf6f026863f5971b3ebc11cbe
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2025-07-29 20:22:20 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2025-07-29 20:22:43 +0000

    security/vuxml: Use of Cryptographically Weak Pseudo-Random Number Generator in p5-Crypt-CBC
    
    Also, fix typo missing space in previous report.
---
 security/vuxml/vuln/2025.xml | 33 ++++++++++++++++++++++++++++++++-
 1 file changed, 32 insertions(+), 1 deletion(-)

diff --git a/security/vuxml/vuln/2025.xml b/security/vuxml/vuln/2025.xml
index cfe65de34463..20ec0e05d48c 100644
--- a/security/vuxml/vuln/2025.xml
+++ b/security/vuxml/vuln/2025.xml
@@ -1,3 +1,34 @@
+  <vuln vid="cd7f969e-6cb4-11f0-97c4-40b034429ecf">
+    <topic>p5-Crypt-CBC -- Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)</topic>
+    <affects>
+      <package>
+	<name>p5-Crypt-CBC</name>
+	<range><lt>3.07</lt></range>
+      </package>
+    </affects>
+    <description>
+	<body xmlns="http://www.w3.org/1999/xhtml">
+	<p>Lib-Crypt-CBC project reports:</p>
+	<blockquote cite="https://perldoc.perl.org/functions/rand">
+	  <p>
+	  Crypt::CBC versions between 1.21 and 3.05 for Perl may use the rand() function as the default
+	  source of entropy, which is not cryptographically secure, for cryptographic functions.
+	  This issue affects operating systems where "/dev/urandom'" is unavailable.
+	  In that case, Crypt::CBC will fallback to use the insecure rand() function.
+	  </p>
+	</blockquote>
+	</body>
+    </description>
+    <references>
+      <cvename>CVE-2025-2814</cvename>
+      <url>https://nvd.nist.gov/vuln/detail/CVE-2025-2814</url>
+    </references>
+    <dates>
+      <discovery>2025-04-12</discovery>
+      <entry>2025-07-29</entry>
+    </dates>
+  </vuln>
+
   <vuln vid="c37f29ba-6ae3-11f0-b4bf-ecf4bbefc954">
     <topic>viewvc -- Arbitrary server filesystem content</topic>
     <affects>
@@ -16,7 +47,7 @@
     </affects>
     <description>
 	<body xmlns="http://www.w3.org/1999/xhtml">
-	<p>cmpilatoreports:</p>
+	<p>cmpilato reports:</p>
 	<blockquote cite="https://github.com/viewvc/viewvc/security/advisories/GHSA-rv3m-76rj-q397">
 	  <p>
 	    The ViewVC standalone web server (standalone.py) is a script provided in the ViewVC