Skip to content

[Snyk] Security upgrade urllib3 from 1.23 to 1.24.3#1

Open
Hackman238 wants to merge 543 commits into
masterfrom
snyk-fix-1c8184b928ce38e7a9cd40b45bc9c398
Open

[Snyk] Security upgrade urllib3 from 1.23 to 1.24.3#1
Hackman238 wants to merge 543 commits into
masterfrom
snyk-fix-1c8184b928ce38e7a9cd40b45bc9c398

Conversation

@Hackman238
Copy link
Copy Markdown
Owner

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the pip dependencies of this project.

Snyk changed the following file(s):

  • requirements.txt
⚠️ Warning
flake8 5.0.4 has requirement importlib-metadata<4.3,>=1.1.0; python_version < "3.8", but you have importlib-metadata 6.7.0.

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 CRLF injection

web-flow and others added 30 commits June 13, 2019 10:54
Changed links to govanguard.com, added Keybase team link.
- Addresses github issue #18
Update README typos and line wrapping
- Ran ui/eventfilter.py through CodeClimate CLI and is no longer showing any cognitive complexity issues in the logic
- The file was not loaded correctly by Legion on startup due to an error with a trailing single quote
- GitHub issue #19
- Introduce concept of Shell - which should abstract all operations pertaining to lower level OS calls, e.g. creating/removing directories, etc.
- This commit does not close issue #19 but is part of a series of commits to spend down the technical debt surrounding `logic.py` file
- This commit is the 2nd iteration on reducing complexity of `logic.py`
- Introduces the concept of a repository. A repository is an abstraction on a data store. In the case of Legion, the underlying data store is based on SQLite, and so the repository implementations should contain all SQL code within the app.
- There is a repository for each concept within the app, such as a Process, a Service, a Host, a Port, etc. (e.g. ProcessRepository, HostRepository, etc.)
- This commit does not complete the full refactoring of all SQL related code to a repository. Further commits will be added to complete the work.
- All new code added was driven by an underlying unit test. In order to gain confidence in proper refactoring of existing logic, a backporting of unit tests was needed.
…c-bug-#18

Fix complexity bug in eventfilter
Fix unbalanced tickmark issue in legion.conf
…sue-19

Reduce cognitive complexity on logic.py
…sue-19-2nd-iter

 Refactoring logic.py into smaller components
sscottgvit and others added 27 commits July 7, 2022 08:22
…e-cert-errors

Added Cutycapt --insecure flag to ignore SSL/TLS certificate errors
…ate-progress-crash-1

Fix updateProgress to always use an integer
fix bad interpreter: /bin/bash^M: no such file or directory
Removed old dead links.
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-174323
@Hackman238 Hackman238 mentioned this pull request Nov 5, 2024
ThereAreSomeWhoCallMeTimAtViasat added a commit to ThereAreSomeWhoCallMeTimAtViasat/legion that referenced this pull request Mar 24, 2026
Wire app/validation.py functions into Flask routes:
- validateNmapInput in /api/nmap/scan: rejects XSS, semicolons,
  special chars in target strings → 400
- Port number validation in add-port action: rejects non-numeric,
  0, and >65535 → 400
- validateNmapPorts in _validate_legion_conf for [StagedNmapSettings]
  keys: rejects invalid chars in stage port expressions

Add 10 new API tests (P8.1–P8.10) to test_api_gaps.py.
Total: 45 passing.

Update FULL_PYTHON_FILE_AUDIT.md gaps Hackman238#1, Hackman238#2, Hackman238#7 as fixed.
Bump version to v9.6-flask.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
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.