GHSA-437m-7hj5-9mpw

Suggest an improvement
Source
https://github.com/advisories/GHSA-437m-7hj5-9mpw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-437m-7hj5-9mpw/GHSA-437m-7hj5-9mpw.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-437m-7hj5-9mpw
Aliases
Related
Published
2024-01-05T16:01:24Z
Modified
2024-01-05T16:26:26.744472Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Kruise allows leveraging the kruise-daemon pod to list all secrets in the entire cluster
Details

Impact

Attacker that has gain root privilege of the node that kruise-daemon run , can leverage the kruise-daemon pod to list all secrets in the entire cluster. After that, attackers can leverage the "captured" secrets (e.g. the kruise-manager service account token) to gain extra privilege such as pod modification.

Workarounds

For users that do not require imagepulljob functions, they can modify kruise-daemon-role to drop the cluster level secret get/list privilege

Patches

For users who're using v0.8.x ~ v1.2.x, please update the v1.3.1 For users who're using v1.3, please update the v1.3.1 For users who're using v1.4, please update the v1.4.1 For users who're using v1.5, please update the v1.5.2

References

None

Database specific
{
    "nvd_published_at": "2024-01-03T16:15:08Z",
    "cwe_ids": [
        "CWE-250",
        "CWE-269"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-01-05T16:01:24Z"
}
References

Affected packages

Go / github.com/openkruise/kruise

Package

Name
github.com/openkruise/kruise
View open source insights on deps.dev
Purl
pkg:golang/github.com/openkruise/kruise

Affected ranges

Type
SEMVER
Events
Introduced
0.8.0
Fixed
1.3.1

Go / github.com/openkruise/kruise

Package

Name
github.com/openkruise/kruise
View open source insights on deps.dev
Purl
pkg:golang/github.com/openkruise/kruise

Affected ranges

Type
SEMVER
Events
Introduced
1.4.0
Fixed
1.4.1

Go / github.com/openkruise/kruise

Package

Name
github.com/openkruise/kruise
View open source insights on deps.dev
Purl
pkg:golang/github.com/openkruise/kruise

Affected ranges

Type
SEMVER
Events
Introduced
1.5.0
Fixed
1.5.2