HashiCorp Consul Community Edition and Enterprise versions from 1.17.0 up to 2.1.0 contain an authorization bypass vulnerability in the HTTP resource API. The agent settings {{block_endpoints}} and {{allow_write_http_from}} were not enforced on this API, potentially allowing unauthorized clients to write or delete resources from restricted network locations. This issue is fixed in versions 2.1.1 for both Community and Enterprise editions, and additionally in Enterprise 1.21.20.