Vulnerabilities in pkg:golang/github.com/docker/notary
PACKAGECVE-2015-9258 is a HIGH (CVSS 7.5) docker notary signature algorithm not vulnerability (CWE-347: Improper Verification of Cryptographic Signature) affecting Github.com/docker/notary libraries in the Go ecosystem. The issue involves docker notary signature algorithm not matched to key vulnerability. Remediation is available by upgrading affected packages to version 0.1.0.
pkg:golang/github.com/docker/notary
Vulnerability advisories affecting package pkg:golang/github.com/docker/notary. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-785h-hrf7-gqxc | CVE-2015-9258 | HIGH | Docker Notary Signature Algorithm Not Matched to Key vulnerability |
CVE-2015-9258 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2015-9258
To remediate this vulnerability, upgrade all affected Github.com/docker/notary 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/docker/notary to 0.1.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/docker/notary
How to Check if You Are Affected
To determine whether your application is affected by CVE-2015-9258, inspect your project dependencies for Github.com/docker/notary:
inspect dependencies for github.com/docker/notary
Analyze the terminal output to locate any version of Github.com/docker/notary in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.1.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-347: Improper Verification of Cryptographic Signature, where the product does not verify, or incorrectly verifies, the cryptographic signature for data. In Github.com/docker/notary, 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-2015-9258 Affected Github.com/docker/notary Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/docker/notary
|
Go |
< 0.1.0
|
0.1.0
|
References
Frequently Asked Questions
What is CVE-2015-9258?
Which Github.com/docker/notary versions are affected?
What version fixes CVE-2015-9258?
Is github.com/docker/notary affected?
What is the CVSS score of CVE-2015-9258?
What CWE is associated with CVE-2015-9258?
How can I check Go dependencies for CVE-2015-9258?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-785h-hrf7-gqxc",
"modified" : "2023-08-02T20:53:09Z",
"published" : "2022-05-14T03:28:46Z",
"aliases" : [ "CVE-2015-9258" ],
"summary" : "Docker Notary Signature Algorithm Not Matched to Key vulnerability",
"details" : "In Docker Notary before 0.1, gotuf/signed/verify.go has a Signature Algorithm Not Matched to Key vulnerability. Because an attacker controls the field specifying the signature algorithm, they might (for example) be able to forge a signature by forcing a misinterpretation of an RSA-PSS key as Ed25519 elliptic-curve data.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/docker/notary"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-9258"
}, {
"type" : "WEB",
"url" : "https://github.com/theupdateframework/notary/blob/master/docs/resources/ncc_docker_notary_audit_2015_07_31.pdf"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20160305015752/https://docs.docker.com/notary/changelog"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-347" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-02T20:53:09Z",
"nvd_published_at" : "2018-03-31T21:29:00Z"
}
}