CVE-2019-19879
Homebrew vulnerability analysis and mitigation

Overview

HashiCorp Sentinel up to version 0.10.1 contained a vulnerability (CVE-2019-19879) where negations were not correctly parsed in certain policy expressions. This vulnerability was discovered and fixed in version 0.10.2, released in late June 2019. The issue affected all previous releases of Sentinel (HashiCorp Advisory).

Technical details

The vulnerability existed in the Sentinel policy language parser where the 'not' predicate was being ignored in specific policy expressions involving relational operators (contains, in, and matches). When combined with higher precedence operators like arithmetic operators or 'else', the parser would incorrectly handle the negation, resulting in the opposite effect of what was intended. For example, an expression like 'foo else "foo" not in "foobar"' would be interpreted as 'foo else "foo" in "foobar"' (HashiCorp Advisory).

Impact

Policies containing expressions utilizing the incorrectly-parsed negation may not have had their intended effect, which could have security implications for systems relying on those policies. The specific impact would be highly environment-dependent, as it depends on how the affected policies were being used to enforce security controls (HashiCorp Advisory).

Mitigation and workarounds

The primary mitigation is to upgrade to Sentinel runtime version 0.10.2 or higher. For enterprise products, this fix was included in Vault Enterprise 1.2.0, Terraform Enterprise v201907-1, Consul Enterprise 1.7.0, and Nomad Enterprise 0.10.1. If upgrading is not possible, users can rewrite affected policies using variables as intermediaries to avoid the parser issue. For example: 'foo = foo else "foo"' followed by 'main = foo not in "foobar"' (HashiCorp Advisory).

Additional resources


SourceThis report was generated using AI

Related Homebrew vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-21693HIGH8.8
  • HomebrewHomebrew
  • iccdev
NoYesJan 07, 2026
CVE-2026-21692HIGH8.8
  • HomebrewHomebrew
  • iccdev
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 2026
CVE-2026-21691MEDIUM6.5
  • HomebrewHomebrew
  • iccdev
NoYesJan 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management