Vulnerabilities in pkg:golang/github.com/sap/cloud-security-client-go
PACKAGECVE-2023-50424 is a CRITICAL (CVSS 9.1) improper privilege management vulnerability (CWE-269: Improper Privilege Management) affecting Github.com/sap/cloud security client go libraries in the Go ecosystem. The issue involves improper privilege management in github.com/sap/cloud-security-client-go. Remediation is available by upgrading affected packages to version 0.17.0.
pkg:golang/github.com/sap/cloud-security-client-go
Vulnerability advisories affecting package pkg:golang/github.com/sap/cloud-security-client-go. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-m8rw-rcpq-2vp2 | CVE-2023-50424 | CRITICAL | Improper Privilege Management in github.com/sap/cloud-security-client-go |
| GHSA-92cg-ghq6-9587 | - | CRITICAL | Duplicate Advisory: Privilege escalation in sap/cloud-security-client-go |
CVE-2023-50424 at a Glance
Security Impact
CVSS: 9.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2023-50424
To remediate this vulnerability, upgrade all affected Github.com/sap/cloud security client go dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/sap/cloud-security-client-go to 0.17.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/sap/cloud-security-client-go
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-50424, inspect your project dependencies for Github.com/sap/cloud security client go:
inspect dependencies for github.com/sap/cloud-security-client-go
Analyze the terminal output to locate any version of Github.com/sap/cloud security client go in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.17.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-269: Improper Privilege Management, where the product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. In Github.com/sap/cloud security client go, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-50424 Affected Github.com/sap/cloud security client go Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/sap/cloud-security-client-go
|
Go |
< 0.17.0
|
0.17.0
|
References
Frequently Asked Questions
What is CVE-2023-50424?
Which Github.com/sap/cloud security client go versions are affected?
What version fixes CVE-2023-50424?
Is github.com/sap/cloud-security-client-go affected?
What is the CVSS score of CVE-2023-50424?
What CWE is associated with CVE-2023-50424?
How can I check Go dependencies for CVE-2023-50424?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-m8rw-rcpq-2vp2",
"modified" : "2024-09-30T19:44:18Z",
"published" : "2023-12-13T13:34:20Z",
"aliases" : [ "CVE-2023-50424" ],
"summary" : "Improper Privilege Management in github.com/sap/cloud-security-client-go",
"details" : "### Impact\nSAP BTP Security Services Integration Library ([Golang] github.com/sap/cloud-security-client-go) allows under certain conditions an escalation of privileges. On successful exploitation, an unauthenticated attacker can obtain arbitrary permissions within the application.\n\n### Patches\nUpgrade to patched version >= 0.17.0\nWe always recommend to upgrade to the latest released version.\n\n### Workarounds\nNo workarounds\n\n### References\nhttps://www.cve.org/CVERecord?id=CVE-2023-50424",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/sap/cloud-security-client-go"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.17.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/SAP/cloud-security-client-go/security/advisories/GHSA-m8rw-rcpq-2vp2"
}, {
"type" : "WEB",
"url" : "https://github.com/SAP/cloud-security-services-integration-library/security/advisories/GHSA-59c9-pxq8-9c73"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-50424"
}, {
"type" : "WEB",
"url" : "https://github.com/SAP/cloud-security-client-go/commit/2e3bd63e152e09f267316a1071034eb5d4b7f498"
}, {
"type" : "WEB",
"url" : "https://blogs.sap.com/2023/12/12/unveiling-critical-security-updates-sap-btp-security-note-3411067"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/SAP/cloud-security-client-go"
}, {
"type" : "WEB",
"url" : "https://me.sap.com/notes/3411067"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/github.com/sap/cloud-security-client-go@v0.17.0"
}, {
"type" : "WEB",
"url" : "https://www.sap.com/documents/2022/02/fa865ea4-167e-0010-bca6-c68f7e60039b.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-269" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2023-12-13T13:34:20Z",
"nvd_published_at" : null
}
}