{"schemaVersion":3,"id":"CVE-2022-26945","aliases":["UBUNTU-CVE-2022-26945","DEBIAN-CVE-2022-26945","GHSA-28r2-q6m8-9hpx","CVE-2022-30321","CVE-2022-30322","CVE-2022-30323","GHSA-cjr4-fv6c-f3mv","GHSA-fcgg-rvwg-jv58","GHSA-x24g-9w7v-vprh","GO-2022-0586","DEBIAN-CVE-2022-30321","DEBIAN-CVE-2022-30322","DEBIAN-CVE-2022-30323"],"status":"published","duplicateOf":null,"title":null,"description":"go-getter up to 1.5.11 and 2.0.2 allowed protocol switching, endless redirect, and configuration bypass via abuse of custom HTTP response header processing. Fixed in 1.6.1 and 2.1.0.","dates":{"published":"2022-05-25T11:19:48.000Z","modified":"2024-08-03T05:18:38.351Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.6,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","exploitability":10,"impact":7.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01743,"percentile":0.7745,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.021000000000000185,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01722},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01722,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01722,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01722,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01722,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01722,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01722,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01722,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01722,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01722,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01764,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01764,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01764,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01743,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01743,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01743,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01743,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01743,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01743,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01743,"percentile":0.7745}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01722,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01722,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01722,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01764,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01764,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01764,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01716,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01743,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01743,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01743,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01743,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01743,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01743,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01743,"percentile":0.7745}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"},{"id":"CWE-59","name":"Improper Link Resolution Before File Access ('Link Following')","description":"The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/59.html"},{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command ('Command Injection')","description":"The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/77.html"}],"affected":[{"vendor":"debian","product":"golang-github-hashicorp-go-getter","name":"golang-github-hashicorp-go-getter","label":"golang-github-hashicorp-go-getter","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/golang-github-hashicorp-go-getter","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"golang-github-hashicorp-go-getter","name":"golang-github-hashicorp-go-getter","label":"golang-github-hashicorp-go-getter","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/golang-github-hashicorp-go-getter","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"golang-github-jesseduffield-go-getter","name":"golang-github-jesseduffield-go-getter","label":"golang-github-jesseduffield-go-getter","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/golang-github-jesseduffield-go-getter","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/hashicorp","product":"go-getter","name":"github.com/hashicorp/go-getter","label":"go-getter","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/hashicorp/go-getter","purlType":"golang","versions":[{"text":"≥ 2.0.0, < 2.1.0","noFixRecorded":false,"fixedIn":null},{"text":"< 1.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.0.0, < 2.1.0 | < 1.6.1","eol":null,"hubHref":null},{"vendor":"github.com/hashicorp/go-getter","product":"v2","name":"github.com/hashicorp/go-getter/v2","label":"v2","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/hashicorp/go-getter/v2","purlType":"golang","versions":[{"text":"< 2.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.0","eol":null,"hubHref":null},{"vendor":"github.com/hashicorp/go-getter/gcs","product":"v2","name":"github.com/hashicorp/go-getter/gcs/v2","label":"v2","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/hashicorp/go-getter/gcs/v2","purlType":"golang","versions":[{"text":"< 2.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.0","eol":null,"hubHref":null},{"vendor":"github.com/hashicorp/go-getter/s3","product":"v2","name":"github.com/hashicorp/go-getter/s3/v2","label":"v2","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/hashicorp/go-getter/s3/v2","purlType":"golang","versions":[{"text":"< 2.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.0","eol":null,"hubHref":null},{"vendor":"hashicorp","product":"go-getter","name":"go-getter","label":"go-getter","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.5.11","noFixRecorded":false,"fixedIn":null},{"text":"2.0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.5.11 | 2.0.2","eol":null,"hubHref":"/vendor/hashicorp/go-getter"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://discuss.hashicorp.com","label":"discuss.hashicorp.com","hostname":"discuss.hashicorp.com","tags":["X Refsource MISC","REPORT","WEB","Vendor Advisory"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930","label":"discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930","hostname":"discuss.hashicorp.com","tags":["X Refsource MISC","REPORT","WEB","Advisory","Vendor Advisory","Mitigation"]},{"url":"https://ubuntu.com/security/CVE-2022-26945","label":"ubuntu.com/security/CVE-2022-26945","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://github.com/hashicorp/go-getter/pull/359","label":"github.com/hashicorp/go-getter/pull/359","hostname":"github.com","tags":["REPORT","WEB"]},{"url":"https://github.com/hashicorp/go-getter/commit/a2ebce998f8d4105bd4b78d6c99a12803ad97a45","label":"github.com/hashicorp/go-getter/commit/a2ebce998f8d4105bd4b78d6c99a12803ad97a45","hostname":"github.com","tags":["REPORT","WEB"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-26945","label":"www.cve.org/CVERecord?id=CVE-2022-26945","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-26945","label":"security-tracker.debian.org/tracker/CVE-2022-26945","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30323","label":"nvd.nist.gov/vuln/detail/CVE-2022-30323","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/hashicorp/go-getter/pull/361","label":"github.com/hashicorp/go-getter/pull/361","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://github.com/hashicorp/go-getter/commit/38e97387488f5439616be60874979433a12edb48","label":"github.com/hashicorp/go-getter/commit/38e97387488f5439616be60874979433a12edb48","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library","label":"discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library","hostname":"discuss.hashicorp.com","tags":["WEB"]},{"url":"https://github.com/hashicorp/go-getter","label":"github.com/hashicorp/go-getter","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/hashicorp/go-getter/releases","label":"github.com/hashicorp/go-getter/releases","hostname":"github.com","tags":["WEB","Release Notes","Third Party Advisory"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0586","label":"pkg.go.dev/vuln/GO-2022-0586","hostname":"pkg.go.dev","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30322","label":"nvd.nist.gov/vuln/detail/CVE-2022-30322","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30321","label":"nvd.nist.gov/vuln/detail/CVE-2022-30321","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-26945","label":"nvd.nist.gov/vuln/detail/CVE-2022-26945","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/","label":"discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/","hostname":"discuss.hashicorp.com","tags":["Vendor Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-30321","label":"security-tracker.debian.org/tracker/CVE-2022-30321","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-30322","label":"security-tracker.debian.org/tracker/CVE-2022-30322","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-30323","label":"security-tracker.debian.org/tracker/CVE-2022-30323","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-05-25T11:19:48.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T05:18:38.351Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T23:40:19.509Z","stale":false,"partial":false}}