You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This matches the behavior of the sudoers parser. There is no way
to tell for sure if an upper case word is an alias or a user or
host name. An unresolvable command alias is never a command since
it doesn't start with a '/'. GitHub issue #381
Bug Description
When parsing a sudoers containing an alias that does not resolve, cvtsudoers will generate invalid JSON output.
With the reduced test case below:
The following JSON output is generated:
I took some traces and this is the behavior with an alias that resolves:
and the behavior with an alias that does not resolve:
Affected Software Version
And also tested with the latest commit as of now (648ce41).
Background Information
We're scanning large amounts of sudoers files from a firmware corpus. We noticed that behavior when looking into
--expand-alias
.The text was updated successfully, but these errors were encountered: