CVE-2018-20133: Code Injection Vulnerability in ymlref

ymlref Updated 02 Oct 2025

Summary

17/12/2018
No i
Critical
9.8

CVE-2018-20133: ymlref allows code injection. Affects ymlref versions 0.1.0 – 0.1.1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

ymlref is a package available on PyPI that provides functionality for referencing YAML files in Python. It allows developers to easily load and access data from YAML files within their Python applications. However, the package is vulnerable to code injection, which can lead to unauthorized execution of arbitrary code.

Vulnerability Detail

The vulnerability in ymlref arises from insufficient input validation and sanitization. Attackers can exploit this weakness by injecting malicious code into YAML files that are processed by the package. When the vulnerable code is executed, the injected code is also executed, potentially leading to unauthorized access, data breaches, or remote code execution.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, developers can implement strict input validation and sanitization measures to mitigate the risk of code injection. This includes thoroughly validating and sanitizing YAML files before passing them to ymlref for processing. Implementing a robust input validation strategy can help prevent the execution of injected code.

Conclusion

In conclusion, the ymlref package is vulnerable to code injection, which can lead to unauthorized execution of arbitrary code. It is crucial to update to a patched version of the package and implement strict input validation and sanitization measures to mitigate the risk. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for ymlref →

Share this vulnerability

FAQ

ymlref is a Python package available on PyPI that allows developers to reference and load data from YAML files within their Python applications.

The code injection vulnerability in ymlref can lead to unauthorized execution of arbitrary code, potentially resulting in unauthorized access, data breaches, or remote code execution.

To fix this vulnerability, update ymlref to a version that includes a patch for the code injection issue and implement strict input validation and sanitization measures.

As a temporary workaround, implement strict input validation and sanitization measures to mitigate the risk of code injection.

For more information about this vulnerability, refer to the official advisory from the PyPA Advisory Database: [link to advisory]

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback