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
32 stars 12 forks source link

merge to release #292

Closed nam20485 closed 5 months ago

github-actions[bot] commented 5 months ago

Dependency Review

✅ No vulnerabilities or license issues found.

Scanned Manifest Files

.github/workflows/cmake-multi-platform.yml
  • actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
  • actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
.github/workflows/codeql.yml
  • actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
  • actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
.github/workflows/create-release.yml
  • actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
  • actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
.github/workflows/dependency-review.yml
  • actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
  • actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
.github/workflows/docker-publish.yml
  • actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
  • docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0
  • actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
  • docker/build-push-action@af5a7ed5ba88268d5278f7203fb52cd833f66d6e
.github/workflows/docker-scout-scan.yml
  • actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
  • docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0
  • actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
  • docker/build-push-action@af5a7ed5ba88268d5278f7203fb52cd833f66d6e
.github/workflows/jekyll-gh-pages.yml
  • actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
  • actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
.github/workflows/sbom-generate-submit.yml
  • actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
  • actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
.github/workflows/scorecard.yml
  • actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
  • actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
github-actions[bot] commented 5 months ago

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

:package: Image Reference nam20485/odbdesign:pr-292
digestsha256:c440f476a46350e01029bf0bc7ea07f54e46340dd4250da34f7889f7a500361c
vulnerabilitiescritical: 0 high: 0 medium: 1 low: 23 unspecified: 1
platformlinux/amd64
size40 MB
packages125
:package: Base Image debian:12-slim
also known as
  • 12.5-slim
  • bookworm-20240408-slim
  • bookworm-slim
digestsha256:346dd1cba3caf44de9467ae428a9d38573f14665408acb80a615e2a7c3f9a2a4
vulnerabilitiescritical: 0 high: 0 medium: 1 low: 23 unspecified: 1
critical: 0 high: 0 medium: 1 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
medium : CVE--2024--2236
Affected range>=1.10.1-3
Fixed versionNot Fixed
Description
A timing-based side-channel flaw was found in libgcrypt's RSA implementation. This issue may allow a remote attacker to initiate a Bleichenbacher-style attack, which can lead to the decryption of RSA ciphertexts.
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: 7 unspecified: 1glibc 2.36-9+deb12u4 (deb) pkg:deb/debian/glibc@2.36-9+deb12u4?os_distro=bookworm&os_name=debian&os_version=12
low : CVE--2019--9192
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 '(|)(\\1\\1)*' in grep, a different issue than CVE-2018-20796. NOTE: the software maintainer disputes that this is a vulnerability because the behavior occurs only with a crafted pattern
low : CVE--2019--1010025
Affected range>=2.36-9+deb12u4
Fixed versionNot Fixed
Description
GNU Libc current is affected by: Mitigation bypass. The impact is: Attacker may guess the heap addresses of pthread_created thread. The component is: glibc. NOTE: the vendor's position is "ASLR bypass itself is not a vulnerability.
low : CVE--2019--1010024
Affected range>=2.36-9+deb12u4
Fixed versionNot Fixed
Description
GNU Libc current is affected by: Mitigation bypass. The impact is: Attacker may bypass ASLR using cache of thread stack and heap. The component is: glibc. NOTE: Upstream comments indicate "this is being treated as a non-security bug and no real threat.
low : CVE--2019--1010023
Affected range>=2.36-9+deb12u4
Fixed versionNot Fixed
Description
GNU Libc current is affected by: Re-mapping current loaded library with malicious ELF file. The impact is: In worst case attacker may evaluate privileges. The component is: libld. The attack vector is: Attacker sends 2 ELF files to victim and asks to run ldd on it. ldd execute code. NOTE: Upstream comments indicate "this is being treated as a non-security bug and no real threat.
low : CVE--2019--1010022
Affected range>=2.36-9+deb12u4
Fixed versionNot Fixed
Description
GNU Libc current is affected by: Mitigation bypass. The impact is: Attacker may bypass stack guard protection. The component is: nptl. The attack vector is: Exploit stack buffer overflow vulnerability and use this bypass vulnerability to bypass stack guard. NOTE: Upstream comments indicate "this is being treated as a non-security bug and no real threat.
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.
unspecified : CVE--2024--2961
Affected range>=2.36-9+deb12u4
Fixed versionNot Fixed
Description
The iconv() function in the GNU C Library versions 2.39 and older may overflow the output buffer passed to it by up to 4 bytes when converting strings to the ISO-2022-CN-EXT character set, which may be used to crash an application or overwrite a neighbouring variable.
critical: 0 high: 0 medium: 0 low: 4 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--2023--31437
Affected range>=252.22-1~deb12u1
Fixed versionNot Fixed
Description
An issue was discovered in systemd 253. An attacker can modify a sealed log file such that, in some views, not all existing and sealed log messages are displayed. 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 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: 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: 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+deb12u1 (deb) pkg:deb/debian/util-linux@2.38.1-5+deb12u1?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 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 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 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 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 5 months ago

Recommended fixes for image nam20485/odbdesign:pr-292

Base image is debian:12-slim

Namebookworm-20240408-slim
Digestsha256:346dd1cba3caf44de9467ae428a9d38573f14665408acb80a615e2a7c3f9a2a4
Vulnerabilitiescritical: 0 high: 0 medium: 1 low: 23 unspecified: 1
Pushed1 week ago
Size29 MB
Packages125
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 35 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: ✅
    1 week ago



    12.4-slim
    Image introduces 1 high vulnerability
    Also known as:
    • bookworm-20240130-slim
    Benefits:
    • Same OS detected
    • Image has similar size
    • Image contains similar number of packages
    • Tag is using slim variant
    Image details:
    • Size: 29 MB
    • Flavor: debian
    • OS: 12
    • Slim: ✅
    2 months 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
    1 week ago



    12.4
    Image introduces 1 high vulnerability
    Also known as:
    • bookworm-20240130
    Benefits:
    • Same OS detected
    • Image contains similar number of packages
    Image details:
    • Size: 50 MB
    • Flavor: debian
    • OS: 12
    2 months ago



    github-actions[bot] commented 5 months ago

    Overview

    Image reference ghcr.io/nam20485/odbdesign:release-latest nam20485/odbdesign:pr-292
    - digest b15be563d6b4 c440f476a463
    - provenance https://github.com/nam20485/OdbDesign/commit/658da5da02413900b584b35e3641472f6b4804c3 https://github.com/nam20485/OdbDesign/commit/0c4345fb6ec6cf54eb7109d81d195593a2c90688
    - vulnerabilities critical: 0 high: 0 medium: 1 low: 23 unspecified: 1 critical: 0 high: 0 medium: 1 low: 23 unspecified: 1
    - platform linux/amd64 linux/amd64
    - size 36 MB 40 MB (+4.4 MB)
    - packages 125 125
    Base Image debian:12-slim
    also known as:
    bookworm-slim
    debian:12-slim
    also known as:
    bookworm-slim
    - vulnerabilities critical: 0 high: 0 medium: 1 low: 23 unspecified: 1 critical: 0 high: 0 medium: 1 low: 23 unspecified: 1
    Labels (3 changes) > * `±` 3 changed > * _7 unchanged_ ```diff org.opencontainers.image.authors=https://github.com/nam20485 -org.opencontainers.image.created=2024-04-21 15:24:31 +org.opencontainers.image.created=2024-04-22T21:40:07.220Z 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 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=658da5da02413900b584b35e3641472f6b4804c3 +org.opencontainers.image.revision=0c4345fb6ec6cf54eb7109d81d195593a2c90688 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=release-867 +org.opencontainers.image.version=pr-292 ```