-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2021.0656
                   Jenkins Security Advisory 2021-02-19
                             22 February 2021

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Jenkins Core
Publisher:         Jenkins
Operating System:  Windows
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Increased Privileges -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-22112  

Original Bulletin: 
   https://www.jenkins.io/security/advisory/2021-02-19/

- --------------------------BEGIN INCLUDED TEXT--------------------

Jenkins Security Advisory 2021-02-19  

This advisory announces vulnerabilities in the following Jenkins deliverables:

  o Jenkins (core)

Descriptions  

Privilege escalation vulnerability in bundled Spring Security library  

SECURITY-2195 / CVE-2021-22112

Spring Security 5.4.3 and earlier has a vulnerability that unintentionally
persisted temporarily elevated privileges in some circumstances in a user's
session. This issue, CVE-2021-22112, is resolved in Spring Security 5.4.4.

Jenkins 2.266 through 2.279 (inclusive) included releases of Spring Security
with this vulnerability.

We are aware of a sequence of operations in Jenkins 2.275 through 2.278
(inclusive) that allows attackers with Job/Workspace permission to exploit this
to switch their identity to SYSTEM, an internal user with all permissions.

Jenkins 2.280 integrates Spring Security 5.4.4, which includes a fix for
CVE-2021-22112.

We recommend that all Jenkins instances running Jenkins releases 2.266 through
2.279 (inclusive) are upgraded to 2.280. Administrators of instances running
Jenkins releases 2.275 through 2.278 (inclusive) who cannot upgrade to a fixed
version are advised to apply the short-term workaround of removing Job/
Workspace permission from all non-admin users.

Severity  

  o SECURITY-2195: High

Affected Versions  

  o Jenkins weekly up to and including 2.279

Fix  

  o Jenkins weekly should be updated to version 2.280

These versions include fixes to the vulnerabilities described above. All prior
versions are considered to be affected by these vulnerabilities unless
otherwise indicated.

Credit  

The Jenkins project would like to thank the reporters for discovering and
reporting these vulnerabilities:

  o Daniel Beck, CloudBees, Inc. and Wadeck Follonier, CloudBees, Inc. for
    SECURITY-2195

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBYDNGIuNLKJtyKPYoAQjkBQ//YjT+DcmsRH9LES16tEDnnyYarxRJ43Q1
kRqxUaHkR+sNwwbmFS57m6FpFqhFXusRJWP2XVDJKoRNbGW5mEdBk9pPCWLVj7pV
epOtbuvztbzVp8uty9ZqHB9azuSHRiDac/ntmneMIl5gWPtG0j/weMTR625Rmk4o
p3h3CXeATFh3oFokq+DwzVRfvJXdlymUsGDOMlGZb1LHZ4vQig9ZxMZEE2T5bGiB
0xV7xysioN4CkMYfA63huXV/IhPl+0xI5Tq9VWlzHxahWmfAYl8GIT13x0K+FhfS
tItBNN2mRO2RXLnLYI4HGUBC6CNzESGmmVwbB3a/CjBEXVbWPZa2305uLWkakY7H
yoojoFLc9IIzLOKxf9bzw+oEODuPu6QCh2xjx1qmw/SJr0fIqzDYHIlL3VffMTkt
FU0iPwCPNW4+Hjl6RllCvKBCV0CR2q2+xdQqdfWS5PTCNwK1oIkj16XuoMyCGNJd
wi36aop++08Jn4ikB6QsoeLSLAF61a2OOYmiZLxDZVgovKPOxlyFsYeb/EpyBANk
KPzWTK0+VcpwHspAOQIMCJRtnrfMG0TeLFDHUNbYHCll0U2e/Opn5MJUDE9FFvEV
xmADI9Ka74Xe2GiKkIEoVuX/vtsNAQeuuUN9ZLXjjzsb41oqUST1ok1czd9LP05i
JToIao2nkio=
=ieId
-----END PGP SIGNATURE-----