Skip to content

[Precogs Alert] Improper Input Validation detected (CWE-20, Risk: High) #8

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

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

Conversation

sameer6pre
Copy link
Owner

Vulnerability Details

  • File Path: Lab_21/city_temperature_control.cpp
  • Vulnerability Type: Improper Input Validation
  • Risk Level: High

Explanation:
The code takes user input for the city ID without validating it. This can lead to issues such as invalid or malicious input being processed, potentially causing undefined behavior or security vulnerabilities.

Please review and address the issue accordingly.

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