Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the Authd response when a multigroup is too long #3746

Merged
merged 1 commit into from
Jan 13, 2023

Conversation

vikman90
Copy link
Member

Related issue
wazuh/wazuh#15861

Description

The issue above aims to prevent a read buffer overflow in Authd. One of the changes is to check that the multigroup part of the message is valid (it's enclosed between single-quotes), otherwise it reports the message:

ERROR: Unterminated group field

This check is previous to the multigroup syntax validation, and that's why the response has changed.

Updated

  • The response message on exceeding multigroup string size has changed.

Testing performed

Tester Test path Jenkins Local OS Commit Notes
@vikman90 (Developer) test_authd/test_authd.py ⚫⚫⚫ 🟢 Ubuntu 20.04 @ WSL2 414118c Nothing to highlight
@user (Reviewer) ⚫⚫⚫ 🚫 🚫 🚫 Nothing to highlight

@vikman90 vikman90 self-assigned this Jan 13, 2023
@Rebits Rebits merged commit 2c31ee3 into 4.4 Jan 13, 2023
@Rebits Rebits deleted the 15861-fix-authd-overflow branch January 13, 2023 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants