Bug 2079000 (CVE-2022-1380)

Summary: CVE-2022-1380 python-snipeit: Stored Cross Site Scripting vulnerability in Item name parameter
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: projects.rg
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: 2022-04-26 21:45:34 UTC 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: 2079001, 2079002    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2022-04-26 16:54:39 UTC
Stored Cross Site Scripting vulnerability in Item name parameter in GitHub repository snipe/snipe-it prior to v5.4.3. The vulnerability is capable of stolen the user Cookie.

Reference:
https://huntr.dev/bounties/3d45cfca-3a72-4578-b735-98837b998a12

Upstream patch:
https://github.com/snipe/snipe-it/commit/f211c11034baf4281aa62e7b5e0347248d995ee9

Comment 1 Guilherme de Almeida Suckevicz 2022-04-26 16:54:59 UTC
Created python-snipeit tracking bugs for this issue:

Affects: epel-all [bug 2079001]
Affects: fedora-all [bug 2079002]

Comment 2 Raphael Groner 2022-04-26 20:34:28 UTC
Thanks for notification. Issue is fixed in new upstream version 5.4.3 already released that I'll care with new package builds.

Comment 3 Product Security DevOps Team 2022-04-26 21:45:32 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.

Comment 4 Raphael Groner 2022-04-27 03:34:34 UTC
Reported against wrong component. python-snipeit package is build from upstream https://github.com/jbloomer/SnipeIT-PythonAPI
A package for snipe/snipe-it does actually not exist yet.