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

New rule to check socket.create_connection with no timeout #598

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

ericwb
Copy link
Contributor

@ericwb ericwb commented Sep 25, 2024

This rule checks for cases where socket.create_connection and a parameter for the timeout is not set. If set to None or unset, the blocking socket can potentially hang indefinitely.

Closes: #519

This rule checks for cases where socket.create_connection and
a parameter for the timeout is not set. If set to None or unset,
the blocking socket can potentially hang indefinitely.

Closes: securesauce#519

Signed-off-by: Eric Brown <[email protected]>
@ericwb ericwb merged commit 53bd258 into securesauce:main Sep 25, 2024
8 checks passed
@ericwb ericwb deleted the socket_no_timeout branch September 25, 2024 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New rule to check for network clients without a timeout
1 participant