Skip to content

Commit 0a2d372

Browse files
authored
fix: address nspect vulnerability report for requests and cryptography (#475)
* fix: address nspect vulnerability report for requests and cryptography Bump requests lower bound to >=2.33 to exclude vulnerable 2.32.x and update lockfile to pull cryptography 46.0.6 and requests 2.33.0. * fix: bump pygments lower bound to >=2.20 to address CVE-2026-4539 ReDoS vulnerability in the Archetype lexer fixed in Pygments 2.20.0.
1 parent 5b9492e commit 0a2d372

File tree

3 files changed

+62
-62
lines changed

3 files changed

+62
-62
lines changed

packages/data-designer-config/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ dependencies = [
2525
"pillow>=12.1.1,<13",
2626
"pyarrow>=19.0.1,<20", # Required for parquet I/O operations
2727
"pydantic[email]>=2.9.2,<3",
28-
"pygments>=2.19.2,<3",
28+
"pygments>=2.20,<3",
2929
"python-json-logger>=3,<4",
3030
"pyyaml>=6.0.1,<7",
31-
"requests>=2.32,<3",
31+
"requests>=2.33,<3",
3232
"rich>=13.7.1,<15",
3333
]
3434

packages/data-designer-engine/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ bump = true
3333
[tool.hatch.metadata.hooks.uv-dynamic-versioning]
3434
dependencies = [
3535
"anyascii>=0.3.3,<1",
36-
"chardet>=3.0.2,<6", # Pulled in by sqlfluff; pin <6 to avoid RequestsDependencyWarning from requests<2.33
36+
"chardet>=3.0.2,<6", # Pulled in by sqlfluff
3737
"data-designer-config=={{ version }}",
3838
"duckdb>=1.5.0,<2",
3939
"faker>=20.1.0,<21",

0 commit comments

Comments
 (0)