{"schemaVersion":3,"id":"CVE-2021-38698","aliases":["UBUNTU-CVE-2021-38698","DEBIAN-CVE-2021-38698","CGA-3259-m98j-j3m9","CGA-86g7-443q-pjp2","CGA-h83j-847v-v3w9","CGA-mm95-95hv-6pr4","CGA-wfhp-39f5-hwp7","CGA-xp6w-gx2g-r4qp","GHSA-6hw5-6gcx-phmw","BIT-consul-2021-38698","GO-2022-0559"],"status":"published","duplicateOf":null,"title":null,"description":"HashiCorp Consul and Consul Enterprise 1.10.1 Txn.Apply endpoint allowed services to register proxies for other services, enabling access to service traffic. Fixed in 1.8.15, 1.9.9 and 1.10.2.","dates":{"published":"2021-09-07T11:45:14.000Z","modified":"2024-08-04T01:51:19.213Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01423,"percentile":0.72527,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01423},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01523,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01423,"percentile":0.72527}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01423,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01423,"percentile":0.72527}]},"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-862","name":"Missing Authorization","description":"The product does not perform an authorization check when an actor attempts to access a resource or perform an action.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/862.html"}],"affected":[{"vendor":"chainguard","product":"k3d","name":"k3d","label":"k3d","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/k3d","purlType":"apk","versions":[{"text":"< 5.6.0-r11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.6.0-r11","eol":null,"hubHref":null},{"vendor":"chainguard","product":"k3d-proxy","name":"k3d-proxy","label":"k3d-proxy","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/k3d-proxy","purlType":"apk","versions":[{"text":"< 5.6.0-r11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.6.0-r11","eol":null,"hubHref":null},{"vendor":"chainguard","product":"k3d-tools","name":"k3d-tools","label":"k3d-tools","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/k3d-tools","purlType":"apk","versions":[{"text":"< 5.6.0-r11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.6.0-r11","eol":null,"hubHref":null},{"vendor":"wolfi","product":"k3d","name":"k3d","label":"k3d","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/k3d","purlType":"apk","versions":[{"text":"< 5.6.0-r11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.6.0-r11","eol":null,"hubHref":null},{"vendor":"wolfi","product":"k3d-proxy","name":"k3d-proxy","label":"k3d-proxy","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/k3d-proxy","purlType":"apk","versions":[{"text":"< 5.6.0-r11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.6.0-r11","eol":null,"hubHref":null},{"vendor":"wolfi","product":"k3d-tools","name":"k3d-tools","label":"k3d-tools","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/k3d-tools","purlType":"apk","versions":[{"text":"< 5.6.0-r11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.6.0-r11","eol":null,"hubHref":null},{"vendor":"debian","product":"consul","name":"consul","label":"consul","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/consul","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"consul","name":"consul","label":"consul","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/consul","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":"consul","name":"github.com/hashicorp/consul","label":"consul","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/hashicorp/consul","purlType":"golang","versions":[{"text":"≥ 1.9.0, < 1.9.9","noFixRecorded":false,"fixedIn":null},{"text":"< 1.8.15","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.10.1, < 1.10.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.9.0, < 1.9.9 | < 1.8.15 | ≥ 1.10.1, < 1.10.2","eol":null,"hubHref":null},{"vendor":"hashicorp","product":"consul","name":"consul","label":"consul","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.8.15","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.9.0, < 1.9.9","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.10.0, < 1.10.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.8.15 | ≥ 1.9.0, < 1.9.9 | ≥ 1.10.0, < 1.10.2","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"consul","label":"Hashicorp Consul","category":"server-app"}},"hubHref":"/vendor/hashicorp/consul"}],"affectedCount":10,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.hashicorp.com/blog/category/consul","label":"www.hashicorp.com/blog/category/consul","hostname":"www.hashicorp.com","tags":["X Refsource MISC","REPORT","Advisory","WEB","Product","Vendor Advisory"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2021-24-consul-missing-authorization-check-on-txn-apply-endpoint/29026","label":"discuss.hashicorp.com/t/hcsec-2021-24-consul-missing-authorization-check-on-txn-apply-endpoint/29026","hostname":"discuss.hashicorp.com","tags":["X Refsource MISC","REPORT","Advisory","WEB","Vendor Advisory"]},{"url":"https://security.gentoo.org/glsa/202208-09","label":"security.gentoo.org/glsa/202208-09","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Advisory","WEB","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-38698","label":"ubuntu.com/security/CVE-2021-38698","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-38698","label":"www.cve.org/CVERecord?id=CVE-2021-38698","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-38698","label":"security-tracker.debian.org/tracker/CVE-2021-38698","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38698","label":"nvd.nist.gov/vuln/detail/CVE-2021-38698","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/hashicorp/consul/pull/10824","label":"github.com/hashicorp/consul/pull/10824","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://github.com/hashicorp/consul","label":"github.com/hashicorp/consul","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-6hw5-6gcx-phmw","label":"github.com/advisories/GHSA-6hw5-6gcx-phmw","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-3JJ9-FGG8-R8JJ","CGA-8P4M-VVX4-587W","CGA-93VM-8HWV-P2WR","CGA-GGFP-F887-7WWW","CGA-J7JW-WG8M-9HHH","CGA-XMG9-6FC3-8JXC"]},"timeline":[{"kind":"published","date":"2021-09-07T11:45:14.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T01:51:19.213Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T22:47:19.153Z","stale":false,"partial":false}}