PyPi: Pyngo

CVE-2022-34265

Transitive

Safety vulnerability ID: 49742

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Jul 04, 2022 Updated at Dec 01, 2024
Scan your Python projects for vulnerabilities →

Advisory

Pyngo 1.3.0 changes a requirement to "django<4" to include a security fix.

Affected package

pyngo

Latest version: 2.3.0

Pydantic Package for Adding Models into a Django or Django Rest Framework Project ✨

Affected versions

Fixed versions

Vulnerability changelog

CVE-2022-34265: Potential SQL injection via `Trunc(kind)` and `Extract(lookup_name)` arguments `Trunc()` and `Extract()` database functions were subject to SQL injection if untrusted data was used as a `kind/lookup_name` value.

What's Changed
* Loosen Django pinned requirements by alysivji in https://github.com/yezz123/pyngo/pull/27

New Contributors
* alysivji made their first contribution in https://github.com/yezz123/pyngo/pull/27

**Full Changelog**: https://github.com/yezz123/pyngo/compare/1.2.0...1.3.0

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

CRITICAL 9.8

CVSS v3 Details

CRITICAL 9.8
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
HIGH
Availability Availability (A)
HIGH

CVSS v2 Details

HIGH 7.5
Access Vector (AV)
NETWORK
Access Complexity (AC)
LOW
Authentication (Au)
NONE
Confidentiality Impact (C)
PARTIAL
Integrity Impact (I)
PARTIAL
Availability Impact (A)
PARTIAL