8000 Fix 54 High/Critical CVEs: upgrade certifi, cryptography, django and 9 more by liorgol · Pull Request #8 · liorgol/linkding · GitHub
[go: up one dir, main page]

Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docker/default.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ RUN wget https://www.sqlite.org/${SQLITE_RELEASE_YEAR}/sqlite-amalgamation-${SQL
gcc -fPIC -shared icu.c `pkg-config --libs --cflags icu-uc icu-io` -o libicu.so


FROM python:3.12.9-slim-bookworm AS linkding
FROM python:3.12.16-slim-bookworm AS linkding
LABEL org.opencontainers.image.source="https://github.com/sissbruecker/linkding"
# install runtime dependencies
RUN apt-get update && apt-get -y install mime-support libpq-dev libicu-dev libssl3 curl
Expand Down Expand Up @@ -83,6 +83,10 @@ HEALTHCHECK --interval=30s --retries=3 --timeout=1s \
CMD curl -f http://localhost:${LD_SERVER_PORT:-9090}/${LD_CONTEXT_PATH}health || exit 1

CMD ["./bootstrap.sh"]
# Added by CVE Remediator: security updates for packages the image ships
USER root
RUN apt-get update && apt-get install -y --no-install-recommends --only-upgrade apt gpgv libapt-pkg6.0 libcap2 libgnutls30 libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0 libpcre2-8-0 libsqlite3-0 && rm -rf /var/lib/apt/lists/*
RUN for init in $(find / -xdev -path '*/site-packages/setuptools/__init__.py' 2>/dev/null); do root="${init%/lib/python*}"; py=$(ls "$root"/bin/python3* 2>/dev/null | head -n 1); if [ -n "$py" ] && "$py" -m pip --version >/dev/null 2>&1; then "$py" -m pip install --no-cache-dir --upgrade setuptools; fi; done


FROM node:18-alpine AS ublock-build
Expand Down
20 changes: 10 additions & 10 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@ bleach==6.1.0
# via -r requirements.in
bleach-allowlist==1.0.3
# via -r requirements.in
certifi==2024.8.30
certifi==2026.10.18
# via requests
cffi==1.17.1
cffi==2.0.0
# via cryptography
charset-normalizer==3.3.2
# via requests
click==8.1.7
# via waybackpy
confusable-homoglyphs==3.3.1
# via django-registration
cryptography==43.0.1
cryptography==50.0.0
# via
# josepy
# mozilla-django-oidc
# pyopenssl
django==5.2.3
django==5.2.17
# via
# -r requirements.in
# django-registration
Expand All @@ -37,13 +37,13 @@ django-registration==3.4
# via -r requirements.in
django-widget-tweaks==1.5.0
# via -r requirements.in
djangorestframework==3.15.2
djangorestframework==3.18.2
# via -r requirements.in
huey==2.5.1
# via -r requirements.in
idna==3.10
# via requests
josepy==1.14.0
josepy==2.0.0
# via mozilla-django-oidc
markdown==3.7
# via -r requirements.in
Expand All @@ -53,7 +53,7 @@ psycopg2-binary==2.9.9
# via -r requirements.in
pycparser==2.22
# via cffi
pyopenssl==24.2.1
pyopenssl==26.4.0
# via josepy
python-dateutil==2.9.0.post0
# via -r requirements.in
Expand All @@ -66,13 +66,13 @@ six==1.16.0
# via
# bleach
# python-dateutil
soupsieve==2.6
soupsieve==3.0.2
# via beautifulsoup4
sqlparse==0.5.1
sqlparse==0.6.0
# via django
supervisor==4.2.5
# via -r requirements.in
urllib3==2.5.0
urllib3==2.8.0
# via
# requests
# waybackpy
Expand Down
0