Bug 2167563 (CVE-2022-25853)

Summary: CVE-2022-25853 semver-tags: Command Injection via the getGitTagsRemote function in semver-tags
Product: [Other] Security Response Reporter: Avinash Hanwate <ahanwate>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aileenc, alampare, alazarot, chazlett, dhanak, emingora, eric.wittmann, gjospin, ibek, janstey, jrokos, kverlaen, lbacciot, mnovotny, mwringe, nboldt, pantinor, peholase, pjindal, rguimara, scorneli
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2167320    

Description Avinash Hanwate 2023-02-07 04:12:43 UTC
All versions of the package semver-tags are vulnerable to Command Injection via the getGitTagsRemote function due to improper input sanitization.

https://github.com/jtrussell/semver-tags/blob/db1ba680bafed0d51e1bb36bd38f2c5439fe8b00/lib/get-tags.js%23L21
https://security.snyk.io/vuln/SNYK-JS-SEMVERTAGS-3175612