Vulnerabilities in pkg:pypi/sqla-yaml-fixtures
PACKAGECVE-2019-3575 is a HIGH (CVSS 7.8) sqla-yaml-fixtures is vulnerable to code vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Sqla yaml fixtures libraries in the PyPI ecosystem. The issue involves sqla-yaml-fixtures is vulnerable to code injection. Remediation is available in the latest vendor maintenance releases.
pkg:pypi/sqla-yaml-fixtures
Vulnerability advisories affecting package pkg:pypi/sqla-yaml-fixtures. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-2x54-j4m3-r6wx | CVE-2019-3575 | HIGH | sqla-yaml-fixtures is vulnerable to Code Injection |
CVE-2019-3575 at a Glance
Security Impact
CVSS: 7.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2019-3575
To remediate this vulnerability, upgrade all affected Sqla yaml fixtures dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install sqla-yaml-fixtures>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show sqla-yaml-fixtures
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2019-3575, inspect your installed packages using pip:
pip show sqla-yaml-fixtures
Analyze the terminal output to locate any version of Sqla yaml fixtures in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The pip show sqla-yaml-fixtures command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Sqla yaml fixtures, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2019-3575 Affected Sqla yaml fixtures Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
sqla-yaml-fixtures
|
PyPI |
≤ 0.9.1
|
|
References
Frequently Asked Questions
What is CVE-2019-3575?
Which Sqla yaml fixtures versions are affected?
What version fixes CVE-2019-3575?
Is sqla-yaml-fixtures affected?
What is the CVSS score of CVE-2019-3575?
What CWE is associated with CVE-2019-3575?
How can I check PyPI dependencies for CVE-2019-3575?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2x54-j4m3-r6wx",
"modified" : "2024-10-28T14:23:42Z",
"published" : "2019-01-04T17:44:48Z",
"aliases" : [ "CVE-2019-3575" ],
"summary" : "sqla-yaml-fixtures is vulnerable to Code Injection",
"details" : "Sqla_yaml_fixtures versions up to 0.9.1 allows local users to execute arbitrary python code via the fixture_text argument in `sqla_yaml_fixtures.load`.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "sqla-yaml-fixtures"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.9.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-3575"
}, {
"type" : "WEB",
"url" : "https://github.com/schettino72/sqla_yaml_fixtures/issues/20"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-2x54-j4m3-r6wx"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/sqla-yaml-fixtures/PYSEC-2019-122.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/schettino72/sqla_yaml_fixtures"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-94" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T20:53:16Z",
"nvd_published_at" : null
}
}