sqla-yaml-fixtures@0.3.0 vulnerabilities

Load YAML data fixtures for SQLAlchemy

Direct Vulnerabilities

Known vulnerabilities in the sqla-yaml-fixtures package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Arbitrary Code Execution

sqla-yaml-fixtures is a package that loads YAML data fixtures for SQLAlchemy.

Affected versions of this package are vulnerable to Arbitrary Code Execution via the fixture_text argument in sqla_yaml_fixtures.load.

PoC

import sqla_yaml_fixtures
test_str ='!!python/object/apply:os.system ["dir"]'

sqla_yaml_fixtures.load('a','a',test_str)

How to fix Arbitrary Code Execution?

There is no fixed version for sqla-yaml-fixtures.

[0,)