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

File-vault update with error handling for http response from clam av #269

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shamiluwais
Copy link
Contributor

What
Implement error handling for HTTP response codes in the 4xx and 5xx range returned from the ClamAV REST service.

Why
HTTP response codes in the 4xx and 5xx range from the ClamAV REST service are not checked, which poses a security risk, as files that have not been properly scanned due to misconfiguration or downtime of the ClamAV service could be falsely marked as safe and uploaded to the storage, potentially allowing malicious files to bypass our security measures.

How
Check for http response status codes that are greater than or equal to 400 and raise an error.

Test
Testing in branch and UAT

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.

1 participant