| { |
| "schema_version": "1.3.1", |
| "id": "GO-2022-0177", |
| "modified": "0001-01-01T00:00:00Z", |
| "published": "2022-08-09T17:31:35Z", |
| "aliases": [ |
| "CVE-2017-15041" |
| ], |
| "summary": "Remote command execution via \"go get\" in cmd/go", |
| "details": "The \"go get\" command allows remote command execution.\n\nUsing custom domains, it is possible to arrange things so that example.com/pkg1 points to a Subversion repository but example.com/pkg1/pkg2 points to a Git repository. If the Subversion repository includes a Git checkout in its pkg2 directory and some other work is done to ensure the proper ordering of operations, \"go get\" can be tricked into reusing this Git checkout for the fetch of code from pkg2. If the Subversion repository's Git checkout has malicious commands in .git/hooks/, they will execute on the system running \"go get\".", |
| "affected": [ |
| { |
| "package": { |
| "name": "toolchain", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "0" |
| }, |
| { |
| "fixed": "1.8.4" |
| }, |
| { |
| "introduced": "1.9.0-0" |
| }, |
| { |
| "fixed": "1.9.1" |
| } |
| ] |
| } |
| ], |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "cmd/go" |
| } |
| ] |
| } |
| } |
| ], |
| "references": [ |
| { |
| "type": "FIX", |
| "url": "https://go.dev/cl/68110" |
| }, |
| { |
| "type": "FIX", |
| "url": "https://go.googlesource.com/go/+/ec71ee078fd3243b78c0d404c8634bd97e38d7eb" |
| }, |
| { |
| "type": "REPORT", |
| "url": "https://go.dev/issue/22125" |
| }, |
| { |
| "type": "WEB", |
| "url": "https://groups.google.com/g/golang-dev/c/RinSE3EiJBI/m/kYL7zb07AgAJ" |
| } |
| ], |
| "credits": [ |
| { |
| "name": "Simon Rawet" |
| } |
| ], |
| "database_specific": { |
| "url": "https://pkg.go.dev/vuln/GO-2022-0177" |
| } |
| } |