Bug 1944543 (CVE-2021-3127)

Summary: CVE-2021-3127 nats-server: mishandling Import Token bindings may lead to Incorrect Access Control
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: eclipseo, go-sig, rhel8-maint
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: nats-server 2.2.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-01 11:35:09 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: 1944544    
Bug Blocks: 1944545    

Description Marian Rehak 2021-03-30 07:12:07 UTC
Any account can take an Import token used by any other account and re-use it for themselves because the binding to the importing account is not rejected, and use it to import *any* Subject from the Exporting account, not just the Subject referenced in the Import Token.

Upstream Advisory:

https://advisories.nats.io/CVE/CVE-2021-3127.txt

Comment 1 Marian Rehak 2021-03-30 07:13:03 UTC
Created nats-server tracking bugs for this issue:

Affects: fedora-all [bug 1944544]

Comment 2 Product Security DevOps Team 2021-04-01 11:35:09 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-3127