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

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

                               ESB-2021.0284
                   Jenkins Security Advisory 2021-01-26
                              27 January 2021

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

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

Product:           Jenkins Core
Publisher:         Jenkins
Operating System:  Windows
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Access Confidential Data -- Existing Account
                   Reduced Security         -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-21615 CVE-2021-21602 

Reference:         ESB-2021.0191

Original Bulletin: 
   https://www.jenkins.io/security/advisory/2021-01-26/

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

Jenkins Security Advisory 2021-01-26  

This advisory announces vulnerabilities in the following Jenkins deliverables:

  o Jenkins (core)

Descriptions  

Arbitrary file read vulnerability in workspace browsers  

SECURITY-2197 / CVE-2021-21615

Due to a time-of-check to time-of-use (TOCTOU) race condition, the file browser
for workspaces, archived artifacts, and $JENKINS_HOME/userContent/ follows
symbolic links to locations outside the directory being browsed in Jenkins
2.275 and LTS 2.263.2.

This allows attackers with Job/Workspace permission and the ability to control
workspace contents, e.g., with Job/Configure permission or the ability to
change SCM contents, to create symbolic links that allow them to access files
outside workspaces using the workspace browser.

Note This issue is caused by an incorrectly applied fix for SECURITY-1452 /
     CVE-2021-21602 in the 2021-01-13 security advisory.

Jenkins 2.276, LTS 2.263.3 no longer differentiates the check and the use of
symlinks in workspace browsers.

Severity  

  o SECURITY-2197: Medium

Affected Versions  

  o Jenkins weekly up to and including 2.275
  o Jenkins LTS up to and including 2.263.2

Fix  

  o Jenkins weekly should be updated to version 2.276
  o Jenkins LTS should be updated to version 2.263.3

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 Wadeck Follonier, CloudBees, Inc. and Daniel Beck, CloudBees, Inc. for
    SECURITY-2197

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

iQIVAwUBYBCyauNLKJtyKPYoAQjPew/+N1dkUE/DA84Y3p+VGCZyjrt01UryfE0m
JyTQeyZ1UiLLwY/ULZEBPSPWQ5lPst4zHo3isMcPX7pqw249aXE2JFfBhWiYoKmz
z/Cr83RKmrqiEo29P2n1u41UEfwv5KnzKMf5tZcudoHEKZujq8zwfSjKU0nXrioK
/65CGKcSFy4O3NPt5ZOC+FZikVvIyR1U637vs5O33LPDVBHEcJTYp1r0J+1JM8KX
WytPtNMWvXKUYcnie05HkZ+pV7IPTSFjupFnJsVqc09/3oZS+emIpES4qyOFqAbE
njpTaMSBhOUFp8Wwe6cFNaK/gE0U/W6AAGLXwv2wcFkezIzFQ1SLrdMxDLuf/Sun
paNQpzoN18RFCvPUYsveUjxNzKuET9bTHbsq21rjtHtKRt3uPXppELbZXsUxjJ9x
ns7FMaSXuvtWXtF+VK7pC3R27dhhh4FMXvNnLOTWklB/pPX0EPjdtOsxPpVpdodT
lVDug/njisGv7U/L8xaHLU1UPHlbhiZ/+VLq1xItFZOerhem/Bk1biIOnXrxl02E
94s6ukBBVRr4qY/8EveS9FwIi9RipH4Ty3xeo4Jqg35TvlNOjXKsafLm+yU1enqe
+1pOwyMBPx/r1i2bwBi+70YHvl+8dzLSbIkWbYWMp8bVYodH7cvC3CCj81fRcbGl
92c0eUBG7LU=
=SMOT
-----END PGP SIGNATURE-----