torchgeo Python Library < 0.6.1 RCE

high Nessus Plugin ID 211464

Synopsis

A Python library installed on the remote host is affected by a remote code execution vulnerability.

Description

The version of the torchgeo Python library installed on the remote host is prior to 0.6.1. It is, therefore, affected by a remote code execution vulnerability. The usage of 'eval()' in torchgeo's 'get_weight()' API function could allow an unauthenticated, remote attacker to execute arbitrary commands.

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

Solution

Upgrade to torchgeo version 0.6.1 or later.

See Also

https://github.com/microsoft/torchgeo/releases/tag/v0.6.1

Plugin Details

Severity: High

ID: 211464

File Name: torchgeo_CVE-2024-49048.nasl

Version: 1.1

Type: local

Agent: windows, macosx, unix

Published: 11/15/2024

Updated: 11/15/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.6

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

CVSS Score Source: CVE-2024-49048

CVSS v3

Risk Factor: High

Base Score: 8.1

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

Vulnerability Information

CPE: cpe:/a:python:torchgeo

Patch Publication Date: 10/10/2024

Vulnerability Publication Date: 10/10/2024

Reference Information

CVE: CVE-2024-49048