github / github/codeql

False positive: Python - Deserialization of user-controlled data

Ouverte
#14,685 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
false-positive Python
Langage dominant
CodeQL
Étoiles
10.1k
Forks
2.1k
Merge moyen
2 j 15 h
PR mergées (30 j)
141

Description

**Description of the false positive**

The `py/unsafe-deserialization` alerts on PyYaml's `yaml.load` when the provided `Loader` inherits from a safe loader (`yaml.loader.SafeLoader`).

**Code samples or links to source code**

https://github.com/blakeblackshear/frigate/blob/14c89c9b638bed90ef02e31beb20e84ab61dba8d/frigate/util/builtin.py#L87-L112

**URL to the alert on GitHub code scanning (optional)**

https://github.com/blakeblackshear/frigate/security/code-scanning/26

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.