Bug 1620342 (CVE-2018-1999043) - CVE-2018-1999043 jenkins: Ephemeral user record was created on some invalid authentication attempts
Summary: CVE-2018-1999043 jenkins: Ephemeral user record was created on some invalid a...
Alias: CVE-2018-1999043
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
: 1642883 (view as bug list)
Depends On: 1620343 1644136 1644137 1644138 1644139 1644140 1644141
Blocks: 1620339 1642893
TreeView+ depends on / blocked
Reported: 2018-08-23 04:33 UTC by Sam Fowler
Modified: 2021-02-16 23:10 UTC (History)
23 users (show)

Fixed In Version: jenkins 2.138.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2019-06-10 10:36:36 UTC

Attachments (Terms of Use)

Description Sam Fowler 2018-08-23 04:33:09 UTC
Jenkins before LTS version 2.121.3 and weekly version 2.138 have a vulnerability exploitable by unauthenticated users.

When attempting to authenticate using API token, an ephemeral user record was created to validate the token in case an external security realm was used, and the user record in Jenkins not previously saved, as (legacy) API tokens could exist without a persisted user record.

This behavior could be abused to create a large number of ephemeral user records in memory.

External Reference:


Comment 1 Sam Fowler 2018-08-23 04:33:24 UTC
Created jenkins tracking bugs for this issue:

Affects: fedora-all [bug 1620343]

Comment 3 Jason Shepherd 2018-12-18 22:17:00 UTC
OpenShift Container Platform 3.11 shipped with version 2.121.3 of Jenkins, so it was never affected by this issue.

Comment 5 Sam Fowler 2019-01-14 02:12:19 UTC
*** Bug 1642883 has been marked as a duplicate of this bug. ***

Comment 6 Sam Fowler 2019-04-11 06:44:24 UTC
This vulnerability had an incomplete fix in version 2.121.3. It was correctly fixed in 2.138.2:


Comment 7 Sam Fowler 2019-04-11 06:53:08 UTC
Jenkins security policy[0]:

"Any security advisory related updates to Jenkins core or the plugins we include in the OpenShift Jenkins master image will only occur in the v3.11 and v4.x branches of this repository.

We do support running the v3.11 version of the master image against older v3.x (as far back as v3.4) OpenShift clusters if you want to pick up Jenkins security advisory updates."

[0] https://github.com/openshift/jenkins/blob/master/README.md#jenkins-security-advisories-the-master-image-from-this-repository-and-the-oc-binary

Note You need to log in before you can comment on or make changes to this bug.