Hash: SHA256

             AUSCERT External Security Bulletin Redistribution

                   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: 

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

Jenkins Security Advisory 2021-02-19  

This advisory announces vulnerabilities in the following Jenkins deliverables:

  o Jenkins (core)


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

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.


  o SECURITY-2195: High

Affected Versions  

  o Jenkins weekly up to and including 2.279


  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.


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

- --------------------------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:


Australian Computer Emergency Response Team
The University of Queensland
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.
Comment: http://www.auscert.org.au/render.html?it=1967