serveFile
core/src/main/java/hudson/model/DirectoryBrowserSupport.java
Last patched
Overview
serveFile in core/src/main/java/hudson/model/DirectoryBrowserSupport.java (jenkinsci/jenkins) was changed by 6 published CVE fixes between 2016 and 2023, in 6 distinct patches that added or removed 93 lines in total.
jenkinsci/jenkins has 167 CVEs with a located fix in total, so 4% of them touched this function.
CVEs that patched it
Every published CVE whose fix changed serveFile, newest first, with the lines each fix touched.
CVE-2023-27902 · lines 275–420 · +10 −7 in 6 hunks
Medium · CVSS 4.3EPSS 0.7%2023-03-08CVE-2021-21683 · lines 254–267 · +14 −1
Medium · CVSS 6.5EPSS 2.2%2021-10-06CVE-2021-21602 · lines 244–361 · +19 −13 in 3 hunks
Medium · CVSS 6.5EPSS 2.3%2021-01-13CVE-2018-1000862 · lines 222–281 · +12 −4 in 3 hunks
Medium · CVSS 4.3EPSS 1.4%2018-12-10CVE-2016-3726 · line 161 · +1 −1
High · CVSS 7.4EPSS 2.3%2016-05-17CVE-2015-7536 · lines 312–322 · +11 −0
Medium · CVSS 5.4EPSS 1.3%2016-02-03
Get an alert when the next CVE fix lands in jenkinsci/jenkins, with the patched functions.
Monitor these CVEsOther functions in these files
Functions in the same file that CVE fixes also changed.
- 1buildChildPathscore/src/main/java/hudson/model/DirectoryBrowserSupport.java2 patches · 2 CVEs2021 to 2023
- 2getNoFollowLinkscore/src/main/java/hudson/model/DirectoryBrowserSupport.java2 patches · 2 CVEs2021 to 2023
- 3patternScancore/src/main/java/hudson/model/DirectoryBrowserSupport.java2 patches · 2 CVEs2021 to 2023
- 4createNotReadableVersionOfcore/src/main/java/hudson/model/DirectoryBrowserSupport.java1 patch · 1 CVE2018
- 5zipcore/src/main/java/hudson/model/DirectoryBrowserSupport.java1 patch · 1 CVE2018
- 6hasTmpDircore/src/main/java/hudson/model/DirectoryBrowserSupport.java1 patch · 1 CVE2023
- 7keepReadabilityOnlyOnDescendantscore/src/main/java/hudson/model/DirectoryBrowserSupport.java1 patch · 1 CVE2018
- 8BuildChildPathscore/src/main/java/hudson/model/DirectoryBrowserSupport.java1 patch · 1 CVE2021
Other hotspots in the repository
Functions in jenkinsci/jenkins changed by the most distinct patches.
Frequently asked questions
Common questions about CVE fixes to serveFile.
- How many CVEs have patched serveFile?
- 6 published CVEs changed serveFile in jenkinsci/jenkins, in 6 distinct patches totalling 93 changed lines, between 2016 and 2023.
- What is the latest CVE that changed serveFile?
- CVE-2023-27902 (Incorrect Permission Preservation in Jenkins Core), published 2023-03-08, changed lines 275 to 420 of core/src/main/java/hudson/model/DirectoryBrowserSupport.java.
- How does serveFile compare to the rest of jenkinsci/jenkins?
- jenkinsci/jenkins has 167 CVEs with a located fix in total; 6 of them changed serveFile.
- What do the line numbers refer to?
- Line numbers are in the fixed version of the file, as the upstream patch left it. A CVE whose fix was backported to several branches is listed once, with the lines from the upstream commit.
References
- core/src/main/java/hudson/model/DirectoryBrowserSupport.java on GitHub (opens in a new tab)
- All patched functions in jenkinsci/jenkins
- Patched functions directory
Fix locations are computed by RadicalNotion.AI from the upstream patch diff of each CVE. CVE data is sourced from the CVE Program.
Track jenkinsci/jenkins CVEs
Get an alert when a new CVE lands in this repository, with the patched functions and AI-written remediation guidance.