Debian dsa-5795 : python3-sql - security update

critical Nessus Plugin ID 209509

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 12 host has a package installed that is affected by a vulnerability as referenced in the dsa-5795 advisory.

- ------------------------------------------------------------------------- Debian Security Advisory DSA-5795-1 [email protected] https://www.debian.org/security/ Moritz Muehlenhoff October 21, 2024 https://www.debian.org/security/faq
- -------------------------------------------------------------------------

Package : python-sql CVE ID : CVE-2024-9774

Cedric Krier discovered that python-sql, a library to write SQL queries in a pythonic way, performed insufficient sanitising which could result in SQL injection.

For the stable distribution (bookworm), this problem has been fixed in version 1.4.0-1+deb12u1.

We recommend that you upgrade your python-sql packages.

For the detailed security status of python-sql please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/python-sql

Further information about Debian Security Advisories, how to apply these updates to your system and frequently asked questions can be found at: https://www.debian.org/security/

Mailing list: [email protected]

Tenable has extracted the preceding description block directly from the Debian security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the python3-sql packages.

See Also

https://security-tracker.debian.org/tracker/source-package/python-sql

https://security-tracker.debian.org/tracker/CVE-2024-9774

https://packages.debian.org/source/bookworm/python-sql

Plugin Details

Severity: Critical

ID: 209509

File Name: debian_DSA-5795.nasl

Version: 1.1

Type: local

Agent: unix

Published: 10/22/2024

Updated: 10/22/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2024-9774

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:python3-sql, cpe:/o:debian:debian_linux:12.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 10/21/2024

Vulnerability Publication Date: 10/21/2024

Reference Information

CVE: CVE-2024-9774