Safety vulnerability ID: 42949
The information on this page was manually curated by our Cybersecurity Intelligence Team.
Pre-commit 1.10.4 replaces 'yaml.load' with safe alternative to avoid a remote code execution vulnerability.
https://github.com/pre-commit/pre-commit/commit/6853f4aa4c8d7e411839bacc66876baea443186a
Latest version: 4.0.1
A framework for managing and maintaining multi-language pre-commit hooks.
===================
Fixes
- Replace `yaml.load` with safe alternative
- `yaml.load` can lead to arbitrary code execution, though not where it
was used
- issue by tonybaloney.
- 779 PR by asottile.
- Improve not found error with script paths (`./exe`)
- 782 issue by ssbarnea.
- 785 PR by asottile.
- Fix minor buffering issue during `--show-diff-on-failure`
- 796 PR by asottile.
- Default `language_version: python3` for `python_venv` when running in python2
- 794 issue by ssbarnea.
- 797 PR by asottile.
- `pre-commit run X` only run `X` and not hooks with `stages: [...]`
- 772 issue by asottile.
- 803 PR by mblayman.
Misc.
- Improve travis-ci build times by caching rust / swift artifacts
- 781 PR by expobrain.
- Test against python3.7
- 789 PR by expobrain.
Scan your Python project for dependency vulnerabilities in two minutes
Scan your application