pytorch: CVE-2022-45907: torch.jit.annotations.parse_type_line prone to command injection

Related Vulnerabilities: CVE-2022-45907  

Debian Bug report logs - #1024903
pytorch: CVE-2022-45907: torch.jit.annotations.parse_type_line prone to command injection

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Sun, 27 Nov 2022 19:39:01 UTC

Severity: important

Tags: security, upstream

Found in versions pytorch/1.12.1-1, pytorch/1.7.1-7

Forwarded to https://github.com/pytorch/pytorch/issues/88868

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, Debian Deep Learning Team <debian-ai@lists.debian.org>:
Bug#1024903; Package src:pytorch. (Sun, 27 Nov 2022 19:39:03 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, Debian Deep Learning Team <debian-ai@lists.debian.org>. (Sun, 27 Nov 2022 19:39:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: pytorch: CVE-2022-45907: torch.jit.annotations.parse_type_line prone to command injection
Date: Sun, 27 Nov 2022 20:35:07 +0100
Source: pytorch
Version: 1.12.1-1
Severity: important
Tags: upstream security
Forwarded: https://github.com/pytorch/pytorch/issues/88868
X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org>
Control: found -1 1.7.1-7

Hi,

The following vulnerability was published for pytorch.

CVE-2022-45907[0]:
| In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line
| can cause arbitrary code execution because eval is used unsafely.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2022-45907
    https://www.cve.org/CVERecord?id=CVE-2022-45907
[1] https://github.com/pytorch/pytorch/issues/88868
[2] https://github.com/pytorch/pytorch/commit/767f6aa49fe20a2766b9843d01e3b7f7793df6a3

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore



Marked as found in versions pytorch/1.7.1-7. Request was from Salvatore Bonaccorso <carnil@debian.org> to submit@bugs.debian.org. (Sun, 27 Nov 2022 19:39:04 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Nov 28 07:18:29 2022; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.