contrib.dlint.dlint-equivalent.insecure-urllib3-warnings-use

profile photo of returntocorpreturntocorp
Author
221
Download Count*

Warnings disabled on insecure network requests with Python 'urllib3' module

Run Locally

Run in CI

Defintion

rules:
  - id: insecure-urllib3-warnings-use
    message: Warnings disabled on insecure network requests with Python 'urllib3' module
    languages:
      - python
    severity: WARNING
    metadata:
      source_rule_url: https://github.com/dlint-py/dlint/blob/master/docs/linters/DUO131.md
      category: security
      technology:
        - python
      references:
        - https://github.com/dlint-py/dlint/blob/master/docs/linters/DUO131.md
      owasp:
        - A06:2017 - Security Misconfiguration
        - A05:2021 - Security Misconfiguration
      cwe:
        - "CWE-311: Missing Encryption of Sensitive Data"
      license: Commons Clause License Condition v1.0[LGPL-2.1-only]
    pattern: urllib3.disable_warnings(...)