Skip to content

Commit 62a4b26

Browse files
authored
chore(deps): exclude GHSA-vfmq-68hx-4jfw temporarily (#1381)
Suppress GHSA-vfmq-68hx-4jfw for now until semgrep/semgrep#11630 is resolved and we can upgrade our dependencies to use the latest version of lxml. Signed-off-by: behnazh-w <[email protected]>
1 parent 18a806a commit 62a4b26

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

Makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,14 +299,17 @@ requirements.txt: pyproject.toml
299299
# Audit the currently installed packages. Skip packages that are installed in
300300
# editable mode (like the one in development here) because they may not have
301301
# a PyPI entry; also print out CVE description and potential fixes if audit
302-
# found an issue.
303-
# Remove GHSA-5239-wwwm-4pmq from the ignore list when it is patched.
302+
# found an issue. If an advisory needs to be ignored, use the --ignore-vuln option.
303+
#
304+
# Remove GHSA-vfmq-68hx-4jfw when the following issue is resolved to be able to
305+
# install the latest version of lxml.
306+
# https://github.com/semgrep/semgrep/issues/11630
304307
.PHONY: audit
305308
audit:
306309
if ! $$(python -c "import pip_audit" &> /dev/null); then \
307310
echo "No package pip_audit installed, upgrade your environment!" && exit 1; \
308311
fi;
309-
python -m pip_audit --skip-editable --desc on --fix --dry-run --ignore-vuln GHSA-5239-wwwm-4pmq
312+
python -m pip_audit --skip-editable --desc on --fix --dry-run --ignore-vuln GHSA-vfmq-68hx-4jfw
310313

311314
# Run some or all checks over the package code base.
312315
.PHONY: check check-code check-bandit check-flake8 check-lint check-mypy check-go check-actionlint

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ dependencies = [
3939
"beautifulsoup4 >=4.12.0,<5.0.0",
4040
"problog >=2.2.6,<3.0.0",
4141
"cryptography >=46.0.5,<47.0.0",
42-
"semgrep ==1.151.0",
42+
"semgrep == 1.151.0",
4343
"email-validator >=2.2.0,<3.0.0",
4444
"rich >=13.5.3,<15.0.0",
4545
"lark >=1.3.0,<2.0.0",

tests/integration/cases/django_with_dep_resolution_virtual_env_as_input/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2024 - 2025, Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2024 - 2026, Oracle and/or its affiliates. All rights reserved.
22
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/.
33

44
description: |
@@ -87,7 +87,7 @@ steps:
8787
kind: verify
8888
options:
8989
policy: policy-sourcecode.dl
90-
- name: Query the output database to verify the suspicious_patterns rull passed.
90+
- name: Query the output database to verify the suspicious_patterns rule passed.
9191
kind: shell
9292
options:
9393
cmd: ./check_sourcecode_patterns.sh

0 commit comments

Comments
 (0)