Skip to content

Commit 7d7f177

Browse files
TEAM4-0CasperWA
andcommitted
[Auto-generated] Update requirements.txt (#689)
* Update `requirements.txt` * Ignore diskcache safety issue * Added note about diskcache issue in README --------- Co-authored-by: Casper Welzel Andersen <casper.w.andersen@sintef.no>
1 parent b192b44 commit 7d7f177

7 files changed

Lines changed: 36 additions & 10 deletions

File tree

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
fastapi-slim>=0.128.5
1+
fastapi-slim>=0.129.0
22
hypercorn>=0.17.3
33
oteapi-core>=1.0.1
44
pydantic>=2.12.5
5-
pydantic-settings>=2.12.0
6-
redis>=7.1.0
5+
pydantic-settings>=2.13.0
6+
redis>=7.1.1
77
tenacity>=9.1.4

.github/workflows/ci_tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ jobs:
3535
uses: pypa/gh-action-pip-audit@v1.1.0
3636
with:
3737
inputs: requirements.txt .dev/requirements_ci.txt .dev/requirements_dev.txt .dev/requirements_docker_dev.txt .dev/requirements_release.txt
38+
# CVE-2025-69872: DiskCache 5.6.3
39+
# DiskCache (python-diskcache) through 5.6.3 uses Python pickle for serialization by default.
40+
# An attacker with write access to the cache directory can achieve arbitrary code execution
41+
# when a victim application reads from the cache.
42+
ignore-vulns: |
43+
CVE-2025-69872
3844
3945
- name: Fail if pre-commit failed
4046
run: |

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@
66

77
**Merged pull requests:**
88

9+
- \[pre-commit.ci\] pre-commit autoupdate [\#688](https://github.com/EMMC-ASBL/oteapi-services/pull/688) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
10+
- \[pre-commit.ci\] pre-commit autoupdate [\#685](https://github.com/EMMC-ASBL/oteapi-services/pull/685) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
11+
- \[pre-commit.ci\] pre-commit autoupdate [\#683](https://github.com/EMMC-ASBL/oteapi-services/pull/683) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
12+
- \[pre-commit.ci\] pre-commit autoupdate [\#682](https://github.com/EMMC-ASBL/oteapi-services/pull/682) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
13+
- \[pre-commit.ci\] pre-commit autoupdate [\#679](https://github.com/EMMC-ASBL/oteapi-services/pull/679) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
14+
- \[pre-commit.ci\] pre-commit autoupdate [\#676](https://github.com/EMMC-ASBL/oteapi-services/pull/676) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
15+
- \[pre-commit.ci\] pre-commit autoupdate [\#673](https://github.com/EMMC-ASBL/oteapi-services/pull/673) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
16+
- \[pre-commit.ci\] pre-commit autoupdate [\#670](https://github.com/EMMC-ASBL/oteapi-services/pull/670) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
17+
- \[pre-commit.ci\] pre-commit autoupdate [\#668](https://github.com/EMMC-ASBL/oteapi-services/pull/668) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
918
- \[pre-commit.ci\] pre-commit autoupdate [\#616](https://github.com/EMMC-ASBL/oteapi-services/pull/616) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
1019

1120
## [v1.20250410.410](https://github.com/EMMC-ASBL/oteapi-services/tree/v1.20250410.410) (2025-04-10)

Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,12 @@ RUN python -m venv /tmp/dev_venv \
5555
# Run static security check, linters, and pytest with code coverage
5656
RUN --mount=type=cache,target=/root/.cache/pre-commit \
5757
git init && git add . && /tmp/dev_venv/bin/pre-commit run -c .pre-commit-config_docker.yaml --all-files
58-
RUN /tmp/dev_venv/bin/pip-audit -r /app/requirements.txt --desc on
58+
59+
# CVE-2025-69872: DiskCache 5.6.3
60+
# DiskCache (python-diskcache) through 5.6.3 uses Python pickle for serialization by default.
61+
# An attacker with write access to the cache directory can achieve arbitrary code execution
62+
# when a victim application reads from the cache.
63+
RUN /tmp/dev_venv/bin/pip-audit -r /app/requirements.txt --desc on --ignore-vuln CVE-2025-69872
5964

6065
# Install extra (non-dev tools) development requirements in main environment
6166
RUN pip install -q -U -r requirements_dev.txt

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
To use a version of the `oteapi` Docker image that runs only on the latest stable version of `oteapi-core`, use the version tag `1.20240228.345` or earlier.
55
Example: `ghcr.io/emmc-asbl/oteapi:1.20240228.345`.
66

7+
> **Warning**: There is currently a security vulnerability in the `oteapi` Docker image that is caused by the use of `diskcache` version 5.6.3.
8+
> This vulnerability is tracked as [CVE-2025-69872](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-69872).
9+
> The vulnerability is mitigated by the fact that an attacker would need write access to the cache directory to achieve arbitrary code execution, and this is not the case for the default configuration of the `oteapi` Docker image.
10+
> However, if you are using a custom configuration that allows write access to the cache directory, please be aware of this vulnerability and take appropriate measures to secure your system.
11+
712
## Run in Docker
813

914
### Development target

app/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66

77
from __future__ import annotations
88

9-
__version__ = "1.20251124.470"
9+
__version__ = "1.20260216.492"
1010
__author__ = "SINTEF"
1111
__author_email__ = "Team4.0@SINTEF.no"

requirements.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@ click==8.3.1
1313
click-didyoumean==0.3.1
1414
click-plugins==1.1.1.2
1515
click-repl==0.3.0
16-
cryptography==46.0.4
16+
cryptography==46.0.5
1717
diskcache==5.6.3
1818
et_xmlfile==2.0.0
1919
exceptiongroup==1.3.1
20-
fastapi-slim==0.128.5
20+
fastapi==0.129.0
21+
fastapi-slim==0.129.0
2122
h11==0.16.0
2223
h2==4.3.0
2324
hpack==4.1.0
@@ -29,20 +30,20 @@ openpyxl==3.1.5
2930
oteapi-core==1.0.1
3031
packaging==26.0
3132
paramiko==3.5.1
32-
pillow==12.1.0
33+
pillow==12.1.1
3334
priority==2.0.0
3435
prompt_toolkit==3.0.52
3536
psycopg==3.3.2
3637
psycopg-binary==3.3.2
3738
pycparser==3.0
3839
pydantic==2.12.5
39-
pydantic-settings==2.12.0
40+
pydantic-settings==2.13.0
4041
pydantic_core==2.41.5
4142
PyNaCl==1.6.2
4243
pysftp==0.2.9
4344
python-dateutil==2.9.0.post0
4445
python-dotenv==1.2.1
45-
redis==7.1.0
46+
redis==7.1.1
4647
requests==2.32.5
4748
six==1.17.0
4849
starlette==0.52.1

0 commit comments

Comments
 (0)