Skip to content

Commit 93ff9cb

Browse files
committed
Update the PerlSecPol to cover our new CVE process and provide an example.
Updates from PTS 2025 to clarify how the perl disclosure process will work. * Clarify what an embargo period is as this is surprisingly not well documented on the internet. * Provide a simple walkthrough to show a real example of the process.
1 parent 68ce332 commit 93ff9cb

File tree

1 file changed

+175
-36
lines changed

1 file changed

+175
-36
lines changed

pod/perlsecpolicy.pod

+175-36
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ determination of whether it is likely to fit the scope of issues the
4343
team handles. General guidelines about how this is determined are
4444
detailed in the L</WHAT ARE SECURITY ISSUES> section.
4545

46-
If your report meets the team's criteria, an issue will be opened in the
47-
team's private issue tracker and you will be provided the issue's ID number.
48-
Issue identifiers have the form perl-security#NNN. Include this identifier
46+
If your report meets the team's criteria, you will be provided the issue's
47+
CVE ID(s). Issue identifiers have the form CVE-YYYY-NNNNN, where YYYY is the
48+
year the CVE was reported, and NNNNN is a unique number. Include this identifier
4949
with any subsequent messages you send.
5050

5151
The security team will send periodic updates about the status of your
@@ -317,16 +317,20 @@ If the security report cannot be reproduced or does not meet the team's
317317
criteria for handling as a security issue, you will be notified by email
318318
and given an opportunity to respond.
319319

320-
=head3 Issue ID assignment
320+
=head3 CVE assignment
321321

322-
Security reports that pass initial triage analysis are turned into issues
323-
in the security team's private issue tracker. When a report progresses to
324-
this point you will be provided the issue ID for future reference. These
325-
identifiers have the format perl-security#NNN or Perl/perl-security#NNN.
322+
Security reports that pass initial triage analysis are turned into CVEs.
323+
When a report progresses to this point, one or more CVEs are reserved by
324+
the security team. Issue identifiers have the form CVE-YYYY-NNNNN, where
325+
YYYY is the year the CVE was reported, and NNNNN is a unique number. The
326+
CVE will be used in any subsequent communications about the issue.
326327

327-
The assignment of an issue ID does not confirm that a security report
328-
represents a vulnerability in Perl. Many reports require further analysis
329-
to reach that determination.
328+
The assignment of these IDs do not confirm that a security report represents
329+
a vulnerability in Perl. Many reports require further analysis to reach that
330+
determination. The vulnerability should not be discussed publicly at this stage.
331+
332+
An internal ticket will also be opened. These identifiers have the format
333+
perl-security#NNN or Perl/perl-security#NNN.
330334

331335
Issues in the security team's private tracker are used to collect details
332336
about the problem and track progress towards a resolution. These notes and
@@ -344,32 +348,28 @@ criteria at this stage, you will be notified by email and given an
344348
opportunity to respond before the issue is closed.
345349

346350
The team may discuss potential fixes with you or provide you with
347-
patches for testing purposes during this time frame. No information
348-
should be shared publicly at this stage.
351+
patches for testing purposes during this time frame.
349352

350-
=head3 CVE ID assignment
353+
=head3 The CVE is drated
351354

352355
Once an issue is fully confirmed and a potential fix has been found,
353-
the security team will request a CVE identifier for the issue to use
354-
in public announcements.
356+
the security team will communicate with the
357+
L<CPAN Security Group CNA|https://security.metacpan.org/>.
355358

356359
Details like the range of vulnerable Perl versions and identities
357-
of the people that discovered the flaw need to be collected to submit
358-
the CVE ID request.
360+
of the people that discovered the flaw need to be collected.
359361

360362
The security team may ask you to clarify the exact name we should use
361363
when crediting discovery of the issue. The
362364
L</Vulnerability credit and bounties> section of this document
363365
explains our preferred format for this credit.
364366

365-
Once a CVE ID has been assigned, you will be notified by email.
366-
The vulnerability should not be discussed publicly at this stage.
367-
368367
=head3 Pre-release notifications
369368

370369
When the security team is satisfied that the fix for a security issue
371-
is ready to release publicly, a pre-release notification
372-
announcement is sent to the major redistributors of Perl.
370+
is ready to release publicly, a pre-release notification announcement
371+
is sent to the L<Openwall Distros List|https://oss-security.openwall.org/wiki/mailing-lists/distros>.
372+
Additional other repackagers are notified.
373373

374374
This pre-release announcement includes a list of Perl versions that
375375
are affected by the flaw, an analysis of the risks to users, patches
@@ -381,8 +381,8 @@ The pre-release announcement will include a specific target date
381381
when the issue will be announced publicly. The time frame between
382382
the pre-release announcement and the release date allows redistributors
383383
to prepare and test their own updates and announcements. During this
384-
period the vulnerability details and fixes are embargoed and should not
385-
be shared publicly. This embargo period may be extended further if
384+
period the vulnerability details and fixes are embargoed (see L</Embargo Period> )
385+
and should not be shared publicly. This L</Embargo Period> may be extended further if
386386
problems are discovered during testing.
387387

388388
You will be sent the portions of pre-release announcements that are
@@ -401,22 +401,22 @@ rather than applying patches to an older release. The security
401401
team works with Perl's release managers to make this possible.
402402

403403
New official releases of Perl are generally produced and tested
404-
on private systems during the pre-release embargo period.
404+
on private systems during the pre-release L</Embargo Period>.
405405

406406
=head3 Release of fixes and announcements
407407

408-
At the end of the embargo period the security fixes will be
409-
committed to Perl's public git repository and announcements will be
410-
sent to the L<perl5-porters|https://lists.perl.org/list/perl5-porters.html>
411-
and L<oss-security|https://oss-security.openwall.org/wiki/mailing-lists/oss-security>
408+
The L</Embargo Period> ends when the security fixes are committed to Perl's
409+
public git repository. Announcements will be sent to the
410+
L<perl5-porters|https://lists.perl.org/list/perl5-porters.html> and
411+
L<oss-security|https://oss-security.openwall.org/wiki/mailing-lists/oss-security>
412412
mailing lists.
413413

414414
If official Perl releases are ready, they will be published at this time
415415
and announced on the L<perl5-porters|https://lists.perl.org/list/perl5-porters.html>
416416
mailing list.
417417

418418
The security team will send a follow-up notification to everyone that
419-
participated in the pre-release embargo period once the release process is
419+
participated in the pre-release L</Embargo Period> once the release process is
420420
finished. Vulnerability reporters and Perl redistributors should not publish
421421
their own announcements or fixes until the Perl security team's release process
422422
is complete.
@@ -455,12 +455,11 @@ request a CVE ID and send an announcement to inform users.
455455

456456
=head2 Vulnerability credit and bounties
457457

458-
The Perl project appreciates the effort security researchers
459-
invest in making Perl safe and secure.
458+
The Perl project appreciates the effort security researchers invest in making
459+
Perl safe and secure.
460460

461-
Since much of this work is hidden from the public, crediting
462-
researchers publicly is an important part of the vulnerability
463-
remediation process.
461+
Since much of this work is hidden from the public, crediting researchers
462+
publicly is an important part of the vulnerability remediation process.
464463

465464
=head3 Credits in vulnerability announcements
466465

@@ -488,4 +487,144 @@ omitted from announcements.
488487
The Perl project is a non-profit volunteer effort. We do not provide
489488
any monetary rewards for reporting security issues in Perl.
490489

490+
=head2 Embargo Period
491+
492+
In the context of Perl's coordinated vulnerability disclosure process, an "embargo"
493+
refers to the period of time during which information about a reported vulnerability
494+
is kept confidential. This embargo begins when a security issue is reported to the
495+
Perl security team and lasts until a fix has been developed and a fix is provided
496+
in a public location.
497+
498+
The purpose of the embargo is to allow the security team to work on a fix
499+
and prepare a coordinated release without the risk of the vulnerability being
500+
exploited or disclosed prematurely. This helps ensure that users of Perl
501+
and its modules are protected from potential attacks while the security
502+
issue is being addressed.
503+
504+
Embargo lengths can vary depending on the complexity of the issue and the
505+
time required to develop a fix. The security team will communicate
506+
the expected duration of the embargo to the reporter and any other
507+
parties involved in the process.
508+
509+
As a goal, the security team aims to keep the total embargo period to less
510+
than 60 days. This may be extended due to the following factors:
511+
512+
=over 4
513+
514+
=item *
515+
516+
The complexity of the issue
517+
518+
=item *
519+
520+
The time required to develop a fix
521+
522+
=item *
523+
524+
The need for additional testing or validation
525+
526+
=item *
527+
528+
The availability of resources to address the issue
529+
530+
=item *
531+
532+
Public holidays which might affect the ability of end users to apply the fix.
533+
534+
=back
535+
536+
During this period:
537+
538+
=over 4
539+
540+
=item *
541+
542+
Details of the vulnerability are shared only with a restricted group of trusted contributors
543+
(such as core maintainers, toolchain maintainers, and packagers), solely for the purpose
544+
of preparing and testing a fix.
545+
546+
=item *
547+
548+
Reporters are asked not to disclose the issue publicly or share details with third parties
549+
until the embargo is lifted.
550+
551+
=item *
552+
553+
The duration of the embargo may vary depending on the severity and complexity of the issue,
554+
but typically lasts until the relevant security patch is released and announced.
555+
556+
=item *
557+
558+
Breaking the embargo — by prematurely disclosing details — undermines the coordinated
559+
disclosure process and can hinder the coordinated effort to protect users effectively.
560+
561+
=back
562+
563+
The Perl security team strives to resolve vulnerabilities promptly and encourages all parties
564+
to respect the embargo period to help protect users and downstream distributions.
565+
566+
=head2 Example Release Process
567+
568+
This section provides an example of how a security issue reported by a third
569+
party might be handled by the Perl security team, from the initial report to
570+
the final release.
571+
572+
=head3 Step 1: Reporting the Vulnerability
573+
574+
A security researcher discovers a vulnerability in the Perl interpreter that
575+
allows an attacker to cause a denial of service under specific conditions. The
576+
researcher emails the details of the issue to
577+
L<[email protected]|mailto:[email protected]>, including a
578+
proof-of-concept script and a description of the impact.
579+
580+
=head3 Step 2: Initial Response
581+
582+
Within 72 hours, the security team acknowledges receipt of the report and
583+
confirms that the issue is under investigation. The researcher is informed of
584+
the expected timeline for triage.
585+
586+
=head3 Step 3: Initial Triage
587+
588+
The security team reproduces the issue using the provided proof-of-concept and
589+
determines that it meets the criteria for handling as a security issue. One or
590+
more CVEs are reserved in coordination with the
591+
L<CPAN Security Group CNA|https://security.metacpan.org/2025/02/25/cpansec-is-cna-for-perl-and-cpan.html>.
592+
The team notifies the researcher referencing the CVE IDs.
593+
594+
=head3 Step 4: Development of a Fix
595+
596+
The security team analyzes the affected code and develops a patch to address
597+
the vulnerability. The patch is tested against various scenarios to ensure it
598+
resolves the issue without introducing regressions. The researcher is invited
599+
to test the patch privately and provide feedback.
600+
601+
=head3 Step 5: Pre-Release Notification
602+
603+
The security team prepares a pre-release notification, including details of
604+
the vulnerability, the affected Perl versions, and the patch. This notification
605+
is sent to major redistributors of Perl under embargo, giving them time to
606+
prepare their own updates.
607+
608+
=head3 Step 6: Pre-Release Testing
609+
610+
During the remaining embargo period, pre-notified redistributors prepare packages
611+
for release and test the patch to ensure compatibility with their systems.
612+
613+
=head3 Step 7: Public Release
614+
615+
On the scheduled release date, the patch is committed to Perl's public git
616+
repository. An official announcement is sent to the
617+
L<perl5-porters|https://lists.perl.org/list/perl5-porters.html> and
618+
L<oss-security|https://oss-security.openwall.org/wiki/mailing-lists/oss-security>
619+
mailing lists. If applicable, a new Perl release containing the fix is
620+
published.
621+
622+
The security team will notify CPAN Security Group CNA to publish the CVE.
623+
624+
=head3 Step 8: Vendor and Third-Party Updates
625+
626+
Vendors and third-party maintainers incorporate the patch or updated Perl
627+
release into their distributions. The security team follows up with all
628+
parties involved to ensure the issue is resolved and users are protected.
629+
491630
=cut

0 commit comments

Comments
 (0)