nam20485 / OdbDesign

A free open source cross-platform C++ library for parsing ODB++ Design archives, accessing their data, and building net list product models. Exposed via a REST API packaged inside of a Docker image.
https://nam20485.github.io/OdbDesign/
MIT License
39 stars 17 forks source link

merge to main #250

Closed nam20485 closed 8 months ago

github-actions[bot] commented 8 months ago

Dependency Review

✅ No vulnerabilities or license issues found.

Scanned Manifest Files

.github/workflows/codeql.yml
  • github/codeql-action/analyze@47b3d888fe66b639e431abf22ebca059152f1eea
  • github/codeql-action/init@47b3d888fe66b639e431abf22ebca059152f1eea
  • github/codeql-action/analyze@379614612a29c9e28f31f39a59013eb8012a51f0
  • github/codeql-action/init@379614612a29c9e28f31f39a59013eb8012a51f0
.github/workflows/docker-publish.yml
  • docker/setup-buildx-action@0d103c3126aa41d772a8362f6aa67afac040f80c
  • docker/setup-buildx-action@edfb0fe6204400c56fbfd3feba3fe9ad1adfa345
.github/workflows/docker-scout-scan.yml
  • docker/setup-buildx-action@0d103c3126aa41d772a8362f6aa67afac040f80c
  • github/codeql-action/upload-sarif@47b3d888fe66b639e431abf22ebca059152f1eea
  • docker/setup-buildx-action@edfb0fe6204400c56fbfd3feba3fe9ad1adfa345
  • github/codeql-action/upload-sarif@379614612a29c9e28f31f39a59013eb8012a51f0
.github/workflows/scorecard.yml
  • github/codeql-action/upload-sarif@47b3d888fe66b639e431abf22ebca059152f1eea
  • github/codeql-action/upload-sarif@379614612a29c9e28f31f39a59013eb8012a51f0
/PyOdbDesignServer/requirements.txt
  • typing-extensions@4.10.0
  • typing-extensions@4.9.0
github-actions[bot] commented 8 months ago

:mag: Vulnerabilities of nam20485/odbdesign:pr-250

:package: Image Reference nam20485/odbdesign:pr-250
digestsha256:92a1461ef82c887936ec5974eccc26226d53387252bcd91a860aba74c8075ddd
vulnerabilitiescritical: 0 high: 0 medium: 0 low: 18
platformlinux/amd64
size40 MB
packages126
:package: Base Image debian:12-slim
also known as
  • 12.5-slim
  • bookworm-20240211-slim
  • bookworm-slim
digestsha256:6bdbd579ba71f6855deecf57e64524921aed6b97ff1e5195436f244d2cb42b12
vulnerabilitiescritical: 0 high: 0 medium: 0 low: 18
critical: 0 high: 0 medium: 0 low: 3 systemd 252.22-1~deb12u1 (deb) pkg:deb/debian/systemd@252.22-1~deb12u1?os_distro=bookworm&os_name=debian&os_version=12
low : CVE--2023--31439
Affected range>=252.22-1~deb12u1
Fixed versionNot Fixed
Description
An issue was discovered in systemd 253. An attacker can modify the contents of past events in a sealed log file and then adjust the file such that checking the integrity shows no error, despite modifications. NOTE: the vendor reportedly sent "a reply denying that any of the finding was a security vulnerability."
low : CVE--2023--31438
Affected range>=252.22-1~deb12u1
Fixed versionNot Fixed
Description
An issue was discovered in systemd 253. An attacker can truncate a sealed log file and then resume log sealing such that checking the integrity shows no error, despite modifications. NOTE: the vendor reportedly sent "a reply denying that any of the finding was a security vulnerability."
low : CVE--2013--4392
Affected range>=252.22-1~deb12u1
Fixed versionNot Fixed
Description
systemd, when updating file permissions, allows local users to change the permissions and SELinux security contexts for arbitrary files via a symlink attack on unspecified files.
critical: 0 high: 0 medium: 0 low: 2 shadow 1:4.13+dfsg1-1 (deb) pkg:deb/debian/shadow@1:4.13+dfsg1-1?os_distro=bookworm&os_name=debian&os_version=12
low : CVE--2019--19882
Affected range>=1:4.13+dfsg1-1
Fixed versionNot Fixed
Description
shadow 4.8, in certain circumstances affecting at least Gentoo, Arch Linux, and Void Linux, allows local users to obtain root access because setuid programs are misconfigured. Specifically, this affects shadow 4.8 when compiled using --with-libpam but without explicitly passing --disable-account-tools-setuid, and without a PAM configuration suitable for use with setuid account management tools. This combination leads to account management tools (groupadd, groupdel, groupmod, useradd, userdel, usermod) that can easily be used by unprivileged local users to escalate privileges to root in multiple ways. This issue became much more relevant in approximately December 2019 when an unrelated bug was fixed (i.e., the chmod calls to suidusbins were fixed in the upstream Makefile which is now included in the release version 4.8).
low : CVE--2007--5686
Affected range>=1:4.13+dfsg1-1
Fixed versionNot Fixed
Description
initscripts in rPath Linux 1 sets insecure permissions for the /var/log/btmp file, which allows local users to obtain sensitive information regarding authentication attempts. NOTE: because sshd detects the insecure permissions and does not log certain events, this also prevents sshd from logging failed authentication attempts by remote attackers.
critical: 0 high: 0 medium: 0 low: 2 glibc 2.36-9+deb12u4 (deb) pkg:deb/debian/glibc@2.36-9+deb12u4?os_distro=bookworm&os_name=debian&os_version=12
low : CVE--2018--20796
Affected range>=2.36-9+deb12u4
Fixed versionNot Fixed
Description
In the GNU C Library (aka glibc or libc6) through 2.29, check_dst_limits_calc_pos_1 in posix/regexec.c has Uncontrolled Recursion, as demonstrated by '(\227|)(\\1\\1|t1|\\\2537)+' in grep.
low : CVE--2010--4756
Affected range>=2.36-9+deb12u4
Fixed versionNot Fixed
Description
The glob implementation in the GNU C Library (aka glibc or libc6) allows remote authenticated users to cause a denial of service (CPU and memory consumption) via crafted glob expressions that do not match any pathnames, as demonstrated by glob expressions in STAT commands to an FTP daemon, a different vulnerability than CVE-2010-2632.
critical: 0 high: 0 medium: 0 low: 2 perl 5.36.0-7+deb12u1 (deb) pkg:deb/debian/perl@5.36.0-7+deb12u1?os_distro=bookworm&os_name=debian&os_version=12
low : CVE--2023--31486
Affected range>=5.36.0-7+deb12u1
Fixed versionNot Fixed
Description
HTTP::Tiny before 0.083, a Perl core module since 5.13.9 and available standalone on CPAN, has an insecure default TLS configuration where users must opt in to verify certificates.
low : CVE--2011--4116
Affected range>=5.36.0-7+deb12u1
Fixed versionNot Fixed
Description
_is_safe in the File::Temp module for Perl does not properly handle symlinks.
critical: 0 high: 0 medium: 0 low: 1 tar 1.34+dfsg-1.2+deb12u1 (deb) pkg:deb/debian/tar@1.34+dfsg-1.2+deb12u1?os_distro=bookworm&os_name=debian&os_version=12
low : CVE--2005--2541
Affected range>=1.34+dfsg-1.2+deb12u1
Fixed versionNot Fixed
Description
Tar 1.15.1 does not properly warn the user when extracting setuid or setgid files, which may allow local users or remote attackers to gain privileges.
critical: 0 high: 0 medium: 0 low: 1 gcc-12 12.2.0-14 (deb) pkg:deb/debian/gcc-12@12.2.0-14?os_distro=bookworm&os_name=debian&os_version=12
low : CVE--2022--27943
Affected range>=12.2.0-14
Fixed versionNot Fixed
Description
libiberty/rust-demangle.c in GNU GCC 11.2 allows stack consumption in demangle_const, as demonstrated by nm-new.
critical: 0 high: 0 medium: 0 low: 1 libgcrypt20 1.10.1-3 (deb) pkg:deb/debian/libgcrypt20@1.10.1-3?os_distro=bookworm&os_name=debian&os_version=12
low : CVE--2018--6829
Affected range>=1.10.1-3
Fixed versionNot Fixed
Description
cipher/elgamal.c in Libgcrypt through 1.8.2, when used to encrypt messages directly, improperly encodes plaintexts, which allows attackers to obtain sensitive information by reading ciphertext data (i.e., it does not have semantic security in face of a ciphertext-only attack). The Decisional Diffie-Hellman (DDH) assumption does not hold for Libgcrypt's ElGamal implementation.
critical: 0 high: 0 medium: 0 low: 1 apt 2.6.1 (deb) pkg:deb/debian/apt@2.6.1?os_distro=bookworm&os_name=debian&os_version=12
low : CVE--2011--3374
Affected range>=2.6.1
Fixed versionNot Fixed
Description
It was found that apt-key in apt, all versions, do not correctly validate gpg keys with the master keyring, leading to a potential man-in-the-middle attack.
critical: 0 high: 0 medium: 0 low: 1 gnupg2 2.2.40-1.1 (deb) pkg:deb/debian/gnupg2@2.2.40-1.1?os_distro=bookworm&os_name=debian&os_version=12
low : CVE--2022--3219
Affected range>=2.2.40-1.1
Fixed versionNot Fixed
Description
GnuPG can be made to spin on a relatively small input by (for example) crafting a public key with thousands of signatures attached, compressed down to just a few KB.
critical: 0 high: 0 medium: 0 low: 1 gnutls28 3.7.9-2+deb12u2 (deb) pkg:deb/debian/gnutls28@3.7.9-2+deb12u2?os_distro=bookworm&os_name=debian&os_version=12
low : CVE--2011--3389
Affected range>=3.7.9-2+deb12u2
Fixed versionNot Fixed
Description
The SSL protocol, as used in certain configurations in Microsoft Windows and Microsoft Internet Explorer, Mozilla Firefox, Google Chrome, Opera, and other products, encrypts data by using CBC mode with chained initialization vectors, which allows man-in-the-middle attackers to obtain plaintext HTTP headers via a blockwise chosen-boundary attack (BCBA) on an HTTPS session, in conjunction with JavaScript code that uses (1) the HTML5 WebSocket API, (2) the Java URLConnection API, or (3) the Silverlight WebClient API, aka a "BEAST" attack.
critical: 0 high: 0 medium: 0 low: 1 util-linux 2.38.1-5+b1 (deb) pkg:deb/debian/util-linux@2.38.1-5+b1?os_distro=bookworm&os_name=debian&os_version=12
low : CVE--2022--0563
Affected range>=2.38.1-5
Fixed versionNot Fixed
Description
A flaw was found in the util-linux chfn and chsh utilities when compiled with Readline support. The Readline library uses an "INPUTRC" environment variable to get a path to the library config file. When the library cannot parse the specified file, it prints an error message containing data from the file. This flaw allows an unprivileged user to read root-owned files, potentially leading to privilege escalation. This flaw affects util-linux versions prior to 2.37.4.
critical: 0 high: 0 medium: 0 low: 1 util-linux 2.38.1-5 (deb) pkg:deb/debian/util-linux@2.38.1-5?os_distro=bookworm&os_name=debian&os_version=12
low : CVE--2022--0563
Affected range>=2.38.1-5
Fixed versionNot Fixed
Description
A flaw was found in the util-linux chfn and chsh utilities when compiled with Readline support. The Readline library uses an "INPUTRC" environment variable to get a path to the library config file. When the library cannot parse the specified file, it prints an error message containing data from the file. This flaw allows an unprivileged user to read root-owned files, potentially leading to privilege escalation. This flaw affects util-linux versions prior to 2.37.4.
critical: 0 high: 0 medium: 0 low: 1 coreutils 9.1-1 (deb) pkg:deb/debian/coreutils@9.1-1?os_distro=bookworm&os_name=debian&os_version=12
low : CVE--2017--18018
Affected range>=9.1-1
Fixed versionNot Fixed
Description
In GNU Coreutils through 8.29, chown-core.c in chown and chgrp does not prevent replacement of a plain file with a symlink during use of the POSIX "-R -L" options, which allows local users to modify the ownership of arbitrary files by leveraging a race condition.
github-actions[bot] commented 8 months ago

Recommended fixes for image nam20485/odbdesign:pr-250

Base image is debian:12-slim

Namebookworm-20240211-slim
Digestsha256:6bdbd579ba71f6855deecf57e64524921aed6b97ff1e5195436f244d2cb42b12
Vulnerabilitiescritical: 0 high: 0 medium: 0 low: 18
Pushed2 weeks ago
Size29 MB
Packages126
Flavordebian
OS12
Slim
The base image is also available under the supported tag(s): bookworm-slim

Refresh base image

Rebuild the image using a newer base image version. Updating this may result in breaking changes.

✅ This image version is up to date.

Change base image

TagDetailsPushedVulnerabilities
stable-slim
Tag is preferred tag
Also known as:
    Benefits:
    • Same OS detected
    • Image is smaller by 5 B
    • Tag is preferred tag
    • Tag was pushed more recently
    • Image has same number of vulnerabilities
    • Image contains equal number of packages
    • Tag is using slim variant
    • stable-slim was pulled 46K times last month
    Image details:
    • Size: 29 MB
    • Flavor: debian
    • OS: 11
    • Slim: ✅
    2 weeks ago



    12.4-slim
    Image introduces 1 medium vulnerability
    Also known as:
    • bookworm-20240130-slim
    Benefits:
    • Same OS detected
    • Image has similar size
    • Image contains equal number of packages
    • Tag is using slim variant
    Image details:
    • Size: 29 MB
    • Flavor: debian
    • OS: 12
    • Slim: ✅
    4 weeks ago



    12
    Tag is latest
    Also known as:
    • bookworm
    • latest
    Benefits:
    • Same OS detected
    • Tag is latest
    • Image has same number of vulnerabilities
    • Image contains equal number of packages
    Image details:
    • Size: 50 MB
    • Flavor: debian
    • OS: 12
    2 weeks ago



    12.4
    Image introduces 1 medium vulnerability
    Also known as:
    • bookworm-20240130
    Benefits:
    • Same OS detected
    • Image contains equal number of packages
    Image details:
    • Size: 50 MB
    • Flavor: debian
    • OS: 12
    4 weeks ago



    github-actions[bot] commented 8 months ago

    Overview

    Image reference ghcr.io/nam20485/odbdesign:main-latest nam20485/odbdesign:pr-250
    - digest 652cdfa3210d 92a1461ef82c
    - provenance https://github.com/nam20485/OdbDesign/commit/81956d52c70bfa5ad8a8c36cbed6f6f5fd412d10 https://github.com/nam20485/OdbDesign/commit/3a38f064c58db86ab1bff95b4783c1796591c41a
    - vulnerabilities critical: 0 high: 0 medium: 0 low: 18 critical: 0 high: 0 medium: 0 low: 18
    - platform linux/amd64 linux/amd64
    - size 36 MB 40 MB (+4.3 MB)
    - packages 126 126
    Base Image debian:bookworm-20240211-slim
    also known as:
    12-slim
    bookworm-slim
    debian:12-slim
    also known as:
    bookworm-slim
    - vulnerabilities critical: 0 high: 0 medium: 0 low: 18 critical: 0 high: 0 medium: 0 low: 18
    Labels (3 changes) > * `±` 3 changed > * _7 unchanged_ ```diff org.opencontainers.image.authors=https://github.com/nam20485 -org.opencontainers.image.created=2024-02-22 16:51:52 +org.opencontainers.image.created=2024-03-01T21:14:34.766Z org.opencontainers.image.description=A free open source cross-platform C++ library for parsing ODB++ Design archives, accessing their data, and building net list product models. Exposed via a REST API and packaged inside of a Docker image. org.opencontainers.image.documentation=https://github.com/nam20485/OdbDesign?tab=readme-ov-file org.opencontainers.image.licenses=MIT -org.opencontainers.image.revision=81956d52c70bfa5ad8a8c36cbed6f6f5fd412d10 +org.opencontainers.image.revision=3a38f064c58db86ab1bff95b4783c1796591c41a org.opencontainers.image.source=https://github.com/nam20485/OdbDesign org.opencontainers.image.title=OdbDesign org.opencontainers.image.url=https://github.com/nam20485/OdbDesign -org.opencontainers.image.version=main-821 +org.opencontainers.image.version=pr-250 ```