gitlab.bandit.B323
385
Download Count*
License
Unverified SSL context detected. This will permit insecure connections without verifying SSL certificates. Use 'ssl.create_default_context()' instead.
Run Locally
Run in CI
Defintion
rules:
- id: bandit.B323
pattern: ssl._create_unverified_context(...)
message: >
Unverified SSL context detected. This will permit insecure connections
without verifying
SSL certificates. Use 'ssl.create_default_context()' instead.
metadata:
cwe: "CWE-295: Improper Certificate Validation"
owasp: "A3: Sensitive Data Exposure"
primary_identifier: bandit.B323
secondary_identifiers:
- name: Bandit Test ID B323
type: bandit_test_id
value: B323
license: MIT
severity: ERROR
languages:
- python
Short Link: https://sg.run/BLLW