{"id":"CVE-2022-2583","aliases":["EUVD-2022-7495","GHSA-4348-x292-h437","GHSA-h2x7-2ff6-v32p","GO-2022-0400"],"status":"published","title":"Race condition in github.com/ntbosscher/gobase","description":"A race condition can cause incorrect HTTP request routing.","severity":{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00378,"percentile":0.32041,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-362"],"published":"2022-02-11T23:39:57Z","modified":"2026-10-28T02:31:01Z","fixes":[{"ecosystem":"Go","package":"github.com/ntbosscher/gobase","fixed_in":["0.7.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/ntbosscher/gobase","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.2"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/ntbosscher/gobase","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.7.2"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/ntbosscher/gobase","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.7.2"}]}]}],"products":[{"vendor":"github.com/ntbosscher/gobase","product":"github.com/ntbosscher/gobase/auth/httpauth"},{"vendor":"gobase_project","product":"gobase"}],"references":[{"url":"https://github.com/ntbosscher/gobase/commit/a8d40bce9c429d324122d18c446924dab809e812","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0400","tags":["x_transferred","Patch","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2583","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-4348-x292-h437"},{"url":"https://github.com/ntbosscher/gobase/security/advisories/GHSA-h2x7-2ff6-v32p","tags":["web"]},{"url":"https://github.com/advisories/GHSA-h2x7-2ff6-v32p"},{"url":"https://pkg.go.dev","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2583.json","tags":["advisory"]},{"url":"https://github.com/ntbosscher/gobase","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-2583","title":"Race condition in github.com/ntbosscher/gobase","description":"A race condition can cause incorrect HTTP request routing.","status":"published","published":"2022-12-27T21:13:48.862Z","modified":"2025-04-11T16:19:04.777Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low","assessor":"adp"}],"updated_at":"2026-11-02T14:34:32.495407Z"}],"euvd":[{"id":"EUVD-2022-7495","description":"A race condition can cause incorrect HTTP request routing.","status":"published","published":"2022-12-27T21:13:48Z","modified":"2025-04-11T16:19:04Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low"}],"updated_at":"2026-11-02T20:52:34.493984Z"}],"ghsa":[{"id":"GHSA-4348-x292-h437","title":"Duplicate Advisory: GoBase Race Condition vulnerability","description":"## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-h2x7-2ff6-v32p. This link is maintained to preserve external references.\n\n## Original Description\nA race condition can cause incorrect HTTP request routing.","status":"withdrawn","published":"2022-12-28T00:30:23Z","modified":"2026-02-02T21:00:43Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T14:39:21.558748Z"},{"id":"GHSA-h2x7-2ff6-v32p","title":"gobase subject to Incorrect routing of some HTTP requests when using httpauth due to a race condition","description":"### Impact\nIncorrect routing of some HTTP requests when using httpauth due to a race condition\n\n### Patches\nUpgrade to version 0.7.2 for fix\n\n### Workarounds\nNone\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at [nbosscher@blue-giraffe.ca](mailto:nbosscher@blue-giraffe.ca)","status":"published","published":"2022-02-11T23:39:57Z","modified":"2026-02-02T21:00:53Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T14:39:21.558748Z"}],"nvd":[{"id":"CVE-2022-2583","description":"A race condition can cause incorrect HTTP request routing.","status":"published","published":"2022-12-27T22:15:12.5Z","modified":"2026-06-17T04:42:09.577Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low","assessor":"primary"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low","assessor":"secondary"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T14:07:34.388163Z"}],"osv":[{"id":"CVE-2022-2583","title":"Race condition in github.com/ntbosscher/gobase","description":"A race condition can cause incorrect HTTP request routing.","status":"published","published":"2022-12-27T21:13:48.862Z","modified":"2026-10-28T02:31:01.350947393Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low"}],"updated_at":"2026-11-02T15:44:24.758293Z"},{"id":"GHSA-4348-x292-h437","title":"Duplicate Advisory: GoBase Race Condition vulnerability","description":"## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-h2x7-2ff6-v32p. This link is maintained to preserve external references.\n\n## Original Description\nA race condition can cause incorrect HTTP request routing.","status":"withdrawn","published":"2022-12-28T00:30:23Z","modified":"2026-02-03T17:49:30.375348Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T15:46:36.434231Z"},{"id":"GHSA-h2x7-2ff6-v32p","title":"gobase subject to Incorrect routing of some HTTP requests when using httpauth due to a race condition","description":"### Impact\nIncorrect routing of some HTTP requests when using httpauth due to a race condition\n\n### Patches\nUpgrade to version 0.7.2 for fix\n\n### Workarounds\nNone\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at [nbosscher@blue-giraffe.ca](mailto:nbosscher@blue-giraffe.ca)","status":"published","published":"2022-02-11T23:39:57Z","modified":"2026-02-03T17:47:49.344557Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T15:46:48.546324Z"},{"id":"GO-2022-0400","title":"Race condition in github.com/ntbosscher/gobase","description":"A race condition can cause incorrect HTTP request routing.","status":"published","published":"2022-07-01T20:10:50Z","modified":"2024-05-20T16:03:47Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
