Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I fix vulnerability in image. Vulnerability Details : CVE-2009-3736 #22

Open
vcadminksitm opened this issue Feb 1, 2023 · 1 comment
Labels

Comments

@vcadminksitm
Copy link

Vulnerability Details : CVE-2009-3736

| RESOURCE | VULNERABILITY | SEVERITY | INSTALLED VERSION | FIXED VERSION |
+-----------------------------+---------------+----------+-------------------+---------------+
| /app/php-ext-snappy/libtool | CVE-2009-3736 | MEDIUM | 1.5.26 | |
+-----------------------------+---------------+----------+-------------------+---------------+

@kjdev
Copy link
Owner

kjdev commented Feb 1, 2023

libtool is not managed in this repository.

libtool is not needed for execution and may be removed.

Only snappy.so is needed.

For example, how to.

  • Remove build tools

    $ make distclean
    $ phpize --clean
  • Build in multi-stage, only snappy.so is copied to the execution container image.

    FROM ${IMAGE} as builder
    RUN phpize && ./configure && make
    
    FROM ${IMAGE}
    COPY --from=builder ${BUILDER_PATH}/snappy.so ${PHP_PATH}/modules/snappy.so

@kjdev kjdev added the wontfix label May 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants