Git Product home page Git Product logo

Comments (6)

fabpot avatar fabpot commented on May 28, 2024

The "problem" with PHP is that the "installed" version is not in your vendor dir and as such the exact version is not listed in the composer.lock file. So, there is no way to check the vuln. via Composer.

from security-advisories.

minkbear avatar minkbear commented on May 28, 2024

My idea is when you run command

php app/console security:check /path/to/another/composer.lock

That command will be advice the security of running PHP as well.
and That command will search security issues in this repo.

I think this feature is very helpful for all PHP developer.

What do you think?

ref: http://symfony.com/blog/new-in-symfony-2-6-the-security-check-command

from security-advisories.

stof avatar stof commented on May 28, 2024

but the PHP version you run in prod might be different than the one you run locally (it can often be a different patch version)

from security-advisories.

minkbear avatar minkbear commented on May 28, 2024

I have not use different version between prod and my local.
As you mentions that different version of PHP you running, It must have a tool to give you security issues both of prod and local so you will be aware that take the risk or not and make decision to update version or not.

That is all my though.

from security-advisories.

xsist10 avatar xsist10 commented on May 28, 2024

I agree with @fabpot on not bundling that check in with this tool. @enygma and I had a similar chat about including a PHP version checker in his ini scanner (psecio/iniscan#59). In the end he put together a separate tool for this at https://github.com/psecio/versionscan.

from security-advisories.

minkbear avatar minkbear commented on May 28, 2024

just try versionscan. it's ok so closed this ticket.

from security-advisories.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.