portage-ng / portage / dev-perl / YAML-LibYAML / 0.903.0
portage-ng glsa
1 advisory reference dev-perl/YAML-LibYAML · none place version 0.903.0 in a vulnerable range
▸ GLSA 202506-11 YAML-LibYAML: Shell injection this version unaffected normal local and remote 2025-06-12

A vulnerability has been discovered in YAML-LibYAML, which can lead to shell injection.

Announced
2025-06-12
Revised
2025-06-12
Access
local and remote
Bugs
#949498
Advisory
https://security.gentoo.org/glsa/202506-11

Affected packages

PackageArchVulnerableUnaffected
dev-perl/YAML-LibYAML*< 0.903.0>= 0.903.0

Background

YAML-LibYAML provides YAML Serialization using XS and libyaml for Perl.

Description

YAML-LibYAML uses the legacy '2-arg' open() call which is susceptible to shell injection via malicious filenames.

Impact

Shell injection may be used to execute arbitrary code using a malicious filename.

Workaround

There is no known workaround at this time.

Resolution

All YAML-LibYAML users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-perl/YAML-LibYAML-0.903.0"

References