REDHAT-BUG-2369407: Race Condition

Published May 30, 2025
·
Updated

Perl threads have a working directory race condition where file operations may target unintended paths.

If a directory handle is open at thread creation, the process-wide current working directory is temporarily changed in order to clone that handle for the new thread, which is visible from any third (or more) thread already running.

This may lead to unintended operations such as loading code or accessing files from unexpected locations, which a local attacker may be able to exploit.

The bug was introduced in commit 11a11ecf4bea72b17d250cfb43c897be1341861e and released in Perl version 5.13.6

Affected Software

1 affected component
Perl Perl

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Perl to a version that resolves this vulnerability.

    Fixed in 5.13.6Patch 11a11ecf4bea72b17d250cfb43c897be1341861e
  2. Compensating control

    Mitigate the risk by isolating Perl execution (e.g., run affected Perl processes with least privilege and restrict filesystem access so that unintended path operations cannot access sensitive files).

Event History

May 30, 2025
Data Sourced
via Red Hat·01:01 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2369407?

The severity of REDHAT-BUG-2369407 is considered moderate due to the race condition affecting file operations.

2

How do I fix REDHAT-BUG-2369407?

To fix REDHAT-BUG-2369407, ensure that the Perl version is updated to a patched version provided by Red Hat.

3

What systems are affected by REDHAT-BUG-2369407?

REDHAT-BUG-2369407 affects systems running specific versions of Perl where threads are utilized.

4

What kind of vulnerability is REDHAT-BUG-2369407?

REDHAT-BUG-2369407 is categorized as a race condition vulnerability in Perl threads affecting file operations.

5

Is there a workaround for REDHAT-BUG-2369407?

Currently, there is no official workaround for REDHAT-BUG-2369407; upgrading Perl is recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203