CVE-2019-25777
Last modified
CVE-2019-25777 is a high-severity vulnerability rated 7.3/10 on the CVSS scale. YAML versions before 1.27_001 for Perl allow a loaded perl/glob document to replace any package variable, which can lead to arbitrary code execution. A perl/glob document names a package and a symbol, and supplies the value assigned to it. Nothing restricts the name, so the target can be @INC or YAML's own load options. A perl/glob document that sets $YAML::LoadCode or $YAML::UseCode turns on code loading, which is off by default, for every later Load() in the process. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
Description
YAML versions before 1.27_001 for Perl allow a loaded perl/glob document to replace any package variable, which can lead to arbitrary code execution. A perl/glob document names a package and a symbol, and supplies the value assigned to it. Nothing restricts the name, so the target can be @INC or YAML's own load options. A perl/glob document that sets $YAML::LoadCode or $YAML::UseCode turns on code loading, which is off by default, for every later Load() in the process. A perl/code document is then passed to a string eval, so an attacker who supplies two documents to separate Load() calls in one process can execute arbitrary Perl code.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| — | — | < 1.27_001 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2019-25777?
How severe is CVE-2019-25777?
How do I fix CVE-2019-25777?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2019
- CVE-2019-25763WordPress Ultimate Addons for Beaver Builder 1.2.4.1 contain…9.8
- CVE-2019-25764**UNSUPPORTED WHEN ASSIGNED** Exposed IOCTL with Insufficie…7.3
- CVE-2019-25765ASP-CMS contains a SQL injection vulnerability in the commen…7.5
- CVE-2019-25766Renovate versions >= 13.87.0 and <= 19.38.6 leak temporary r…7.5
- CVE-2019-2577Vulnerability in the Oracle Solaris component of Oracle Sun …
- CVE-2019-25776Weaver E-cology contains an unauthenticated SQL injection vu…7.5
- CVE-2019-25778SeaCMS through 8.7 contains an unauthenticated SQL injection…8.2
- CVE-2019-25779WooThemes Diarise through 1.5.9 contains a file read vulnera…7.5
- CVE-2019-2578Vulnerability in the Oracle WebCenter Sites component of Ora…
- CVE-2019-25781Python-Markdown 3.0 through 3.11.2 contains an algorithmic c…7.5
- CVE-2019-2579Vulnerability in the Oracle WebCenter Sites component of Ora…
- CVE-2019-2580Vulnerability in the MySQL Server component of Oracle MySQL …4.9
Are you affected by CVE-2019-25777?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
