Miggo Logo

CVE-2020-2307: Exposure of Sensitive Information to an Unauthorized Actor in Jenkins Kubernetes Plugin

4.3

CVSS Score
3.1

Basic Information

EPSS Score
0.2495%
Published
5/24/2022
Updated
12/14/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.csanchez.jenkins.plugins:kubernetesmaven>= 1.27.0, < 1.27.41.27.4
org.csanchez.jenkins.plugins:kubernetesmaven>= 1.26.0, < 1.26.51.26.5
org.csanchez.jenkins.plugins:kubernetesmaven>= 1.22.0, < 1.25.4.11.25.4.1
org.csanchez.jenkins.plugins:kubernetesmaven< 1.21.61.21.6

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The commit diff shows the substituteEnv() method was modified to disable environment variable substitution by default. The vulnerability description explicitly states this feature was the exposure vector, and the patch adds a security flag to control it. The function's role in processing template placeholders directly matches the vulnerability mechanism described in advisories.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

J*nkins Ku**rn*t*s Plu*in prior to *.**.*, *.**.*, *.**.*.*, *n* *.**.* in*lu**s * ***tur* to r*pl*** pl****ol**rs in po* t*mpl*t* *n* *ont*in*r t*mpl*t* *i*l*s wit* *nvironm*nt v*ri**l* v*lu*s. T*is ***tur* *llows low-privil*** us*rs to ****ss poss

Reasoning

T** *ommit *i** s*ows t** `su*stitut**nv()` m*t*o* w*s mo*i*i** to *is**l* *nvironm*nt v*ri**l* su*stitution *y ****ult. T** vuln*r**ility **s*ription *xpli*itly st*t*s t*is ***tur* w*s t** *xposur* v**tor, *n* t** p*t** ***s * s**urity *l** to *ontr