public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Emmanuel Seyman <emmanuel@seyman.fr>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-GD-SecurityImage] f43: use Crypt::URandom::MonkeyPatch to override built-in rand
Date: Sun, 11 Oct 2026 14:27:48 GMT [thread overview]
Message-ID: <179172886866.1.870264641680019437.rpms-perl-GD-SecurityImage-1f668c7aadcb@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/perl-GD-SecurityImage
Branch : f43
Commit : 1f668c7aadcb4595bffb7a06b5ad2015a492a0bb
Author : Emmanuel Seyman <emmanuel@seyman.fr>
Date : 2026-10-11T16:21:34+02:00
Stats : +41/-6 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/perl-GD-SecurityImage/c/1f668c7aadcb4595bffb7a06b5ad2015a492a0bb?branch=f43
Log:
use Crypt::URandom::MonkeyPatch to override built-in rand
---
diff --git a/CVE-2026-13082-r1.patch b/CVE-2026-13082-r1.patch
new file mode 100644
index 0000000..7cfe6b4
--- /dev/null
+++ b/CVE-2026-13082-r1.patch
@@ -0,0 +1,30 @@
+commit bdbf9f7551a22073becec5ad1fea1170765da855
+Author: Robert Rothenberg <rrwo@cpansec.org>
+Date: Thu Jul 16 18:37:35 2026 +0100
+
+ Use Crypt::URandom::MonkeyPatch to override built-in rand (CVE-2026-13082)
+
+diff --git a/dist.ini b/dist.ini
+index 52ab0b1..b33ca5f 100644
+--- a/dist.ini
++++ b/dist.ini
+@@ -38,6 +38,7 @@ Image::Magick = 6.66
+
+ perl = 5.010
+ GD = 2.45
++Crypt::URandom::MonkeyPatch = 0
+
+ [ExecDir]
+ [ShareDir]
+diff --git a/lib/GD/SecurityImage.pm b/lib/GD/SecurityImage.pm
+index 0bb5786..960bc94 100644
+--- a/lib/GD/SecurityImage.pm
++++ b/lib/GD/SecurityImage.pm
+@@ -3,6 +3,7 @@ package GD::SecurityImage;
+ use strict;
+ use warnings;
+ use vars qw[@ISA $BACKEND];
++use Crypt::URandom::MonkeyPatch;
+ use GD::SecurityImage::Styles;
+ use Carp qw(croak);
+ use constant RGB_WHITE => ( 255, 255, 255 );
diff --git a/perl-GD-SecurityImage.spec b/perl-GD-SecurityImage.spec
index 4c9c338..3369e18 100644
--- a/perl-GD-SecurityImage.spec
+++ b/perl-GD-SecurityImage.spec
@@ -1,12 +1,12 @@
Name: perl-GD-SecurityImage
Version: 1.75
-Release: 21%{?dist}
+Release: 22%{?dist}
Summary: Security image (captcha) generator
-# Automatically converted from old format: GPL+ or Artistic - review is highly recommended.
License: GPL-1.0-or-later OR Artistic-1.0-Perl
-URL: https://metacpan.org/release/GD-SecurityImage
+URL: https://metacpan.org/dist/GD-SecurityImage
Source0: https://cpan.metacpan.org/authors/id/B/BU/BURAK/GD-SecurityImage-%{version}.tar.gz
+Patch0: CVE-2026-13082-r1.patch
BuildArch: noarch
# build requirements
BuildRequires: glibc-common
@@ -16,6 +16,7 @@ BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
# runtime requirements
BuildRequires: perl(Carp)
+BuildRequires: perl(Crypt::URandom::MonkeyPatch)
BuildRequires: perl(GD) >= 2.45
BuildRequires: perl(Image::Magick) >= 6.66
BuildRequires: perl(Math::Trig)
@@ -46,13 +47,14 @@ gives you a basic interface to create such an image.
%prep
%setup -q -n GD-SecurityImage-%{version}
+%patch -P 0 -p1
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
-make %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
+%{make_build}
%install
-make pure_install DESTDIR=$RPM_BUILD_ROOT
+%{make_install}
%{_fixperms} $RPM_BUILD_ROOT/*
%check
@@ -65,6 +67,9 @@ AUTHOR_TESTING=1 RELEASE_TESTING=1 make test
%{_mandir}/man3/GD*
%changelog
+* Sun Oct 11 2026 Emmanuel Seyman <emmanuel@seyman.fr> - 1.75-22
+- use Crypt::URandom::MonkeyPatch to override built-in rand (CVE-2026-13082)
+
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.75-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
reply other threads:[~2026-10-11 14:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179172886866.1.870264641680019437.rpms-perl-GD-SecurityImage-1f668c7aadcb@fedoraproject.org \
--to=emmanuel@seyman.fr \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox