Created
March 30, 2024 21:18
-
-
Save jamesspi/5cb060b5e0e2d43222a71c876b56daab to your computer and use it in GitHub Desktop.
OSQuery To Check for XZ and liblzma - macOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT 'Homebrew Package' AS source, name, version, | |
CASE | |
WHEN version LIKE '5.6.0%' OR version LIKE '5.6.1%' THEN 'Potentially Vulnerable' | |
ELSE 'Most likely not vulnerable' | |
END AS status | |
FROM homebrew_packages | |
WHERE name = 'xz' OR name = 'liblzma'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment