CVE-2022-25766

Remote Code Execution (RCE)

State
Published
Severity
8.8 High
Published
Mar 21, 2022
Updated
Sep 16, 2024
Reserved
Feb 24, 2022

Read the record on cve.org

Description

The package ungit before 1.5.20 are vulnerable to Remote Code Execution (RCE) via argument injection. The issue occurs when calling the /api/fetch endpoint. User controlled values (remote and ref) are passed to the git fetch command. By injecting some git options it was possible to get arbitrary command execution.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hsnyk

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
ungitn/a
  • before 1.5.20Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.