Bug 1953024 (CVE-2021-28168)

Summary: CVE-2021-28168 jersey: Local information disclosure via system temporary directory
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aileenc, akoufoud, alazarot, almorale, anstephe, aos-bugs, bibryam, bmontgom, chazlett, dchen, drieden, eparis, eric.wittmann, etirelli, extras-orphan, gang.wei, ggaughan, gmalinko, hbraun, ibek, janstey, java-sig-commits, jburrell, jjoyce, jnethert, jochrist, jokerman, jross, jschluet, jstastny, jwon, krathod, kverlaen, lhh, lpeer, mburns, mkolesni, mnovotny, nstielau, pantinor, pjindal, puntogil, rrajasek, sclewis, scohen, sd-operator-metering, slinaber, sponnaga, swoodman, tflannag, tzimanyi
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: jersey 2.34, jersey 3.0.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-19 09:34:58 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: 1953025    
Bug Blocks: 1953026    

Description Pedro Sampaio 2021-04-23 18:26:23 UTC
Eclipse Jersey 2.28 to 2.33 and Eclipse Jersey 3.0.0 to 3.0.1 contains a local information disclosure vulnerability. This is due to the use of the File.createTempFile which creates a file inside of the system temporary directory with the permissions: -rw-r--r--. Thus the contents of this file are viewable by all other users locally on the system. As such, if the contents written is security sensitive, it can be disclosed to other local users.

References:

https://github.com/eclipse-ee4j/jersey/security/advisories/GHSA-c43q-5hpj-4crv
https://github.com/eclipse-ee4j/jersey/pull/4712

Comment 1 Pedro Sampaio 2021-04-23 18:27:02 UTC
Created jersey tracking bugs for this issue:

Affects: fedora-all [bug 1953025]

Comment 2 Anten Skrabec 2021-04-30 03:47:22 UTC
Statement:

Red Hat OpenStack Platform's OpenDaylight will not be updated for this flaw because it was deprecated as of OpenStack Platform 14 and is only receiving security fixes for Important and Critical flaws.

Comment 10 errata-xmlrpc 2021-08-19 07:18:43 UTC
This issue has been addressed in the following products:

  Red Hat AMQ Streams 1.8.0

Via RHSA-2021:3225 https://access.redhat.com/errata/RHSA-2021:3225

Comment 11 Product Security DevOps Team 2021-08-19 09:34:58 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-28168

Comment 12 errata-xmlrpc 2022-03-22 15:33:50 UTC
This issue has been addressed in the following products:

  RHINT Camel-Q 2.2.1

Via RHSA-2022:1013 https://access.redhat.com/errata/RHSA-2022:1013

Comment 13 errata-xmlrpc 2022-03-23 08:22:37 UTC
This issue has been addressed in the following products:

  RHINT Camel-K 1.6.4

Via RHSA-2022:1029 https://access.redhat.com/errata/RHSA-2022:1029