Login
Newsletter
Werbung

Sicherheit: Ausführen beliebiger Kommandos in GitPython
Aktuelle Meldungen Distributionen
Name: Ausführen beliebiger Kommandos in GitPython
ID: 202311-01
Distribution: Gentoo
Plattformen: Keine Angabe
Datum: Mi, 1. November 2023, 22:22
Referenzen: https://nvd.nist.gov/vuln/detail/CVE-2022-24439
Applikationen: GitPython

Originalnachricht

--===============5630874082691058069==
Content-Type: text/plain; charset="utf-8"

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 202311-01
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: High
Title: GitPython: Code Execution via Crafted Input
Date: November 01, 2023
Bugs: #884623
ID: 202311-01

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

A vulnerability has been discovered in GitPython where crafted input to
Repo.clone_from can lead to code execution

Background
==========

GitPython is a Python library used to interact with Git repositories.

Affected packages
=================

Package Vulnerable Unaffected
-------------------- ------------ ------------
dev-python/GitPython < 3.1.30 >= 3.1.30

Description
===========

Please review the CVE identifier referenced below for details.

Impact
======

An attacker may be able to trigger Remote Code Execution (RCE) due to
improper user input validation, which makes it possible to inject a
maliciously crafted remote URL into the clone command. Exploiting this
vulnerability is possible because the library makes external calls to
git without sufficient sanitization of input arguments.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All GitPython users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-python/GitPython-3.1.30"

References
==========

[ 1 ] CVE-2022-24439
https://nvd.nist.gov/vuln/detail/CVE-2022-24439

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

https://security.gentoo.org/glsa/202311-01

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======

Copyright 2023 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

https://creativecommons.org/licenses/by-sa/2.5
--===============5630874082691058069==
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEpqTA6ABLMxh/aChGFMQkOaVy+9kFAmVCQtQACgkQFMQkOaVy
+9ltmg/9FXVixA67KzMVmkXXyoM76BLEMkaMpw6IYMvOMCNK/4RUJF3ops6qOUxC
FW2D9nEfdrdBJRNoHTTekDChsjiHtSPh3r39AxIwnpietZA3t44bGZ/qiSEIAsUv
0xHpqDkL89xKs1ptXH1sU38qfhoVDgBVjXo6PviFP6eeBesJ6FEC/6/EmVVJtQh4
SG1XjwnGPdHvfxQpMvGAQCIvEONrnfhHPDW/vbdZSdAKD40RA/8+SutCy4tZ+euM
O951xhfdX55Il9XYayR9kjUZxhVnUcJYvCHBr4H/blOCd/vm/T+0MatNOdGlAVf1
RK0bE2aRu8KZ0Iz5Z+Gp1lfcULiuAg9BQUsBg6uA7VNd8s2yqJflHCTy8od8z+jA
FstuUKraFfLrlToM0vN4QT1UpJ5R/sr/BLWyIXMeas5VoePlFkbkwgTrIniu44JA
G/JGagQQy0e842GS5lxUBiJjzbK+Mm6LZvhRwqth58d9YQmQGiUnKVNN40gS4Tu+
zPP6skOuuhSwii9ogHO7Wog3r1RVT3h0jU2kIzeH0uYVlX7CUnsLfer58+sBKfgL
3WoRgVvIvPmXSGRtLLo+F5UbqL86CyVy+LZJRFThJtURqDXDtpt4hVSKHjnPjNd7
D4Ya4acbX6PrHx5SbFRhKJRfHVAv/OlTQULqODtZC3jkO312N9M=
=gQ1e
-----END PGP SIGNATURE-----

--===============5630874082691058069==--
Pro-Linux
Pro-Linux @Facebook
Neue Nachrichten
Werbung