Giter Club home page Giter Club logo

Comments (4)

mminella avatar mminella commented on August 12, 2024 1

@viniciusccarvalho Whitelisting args isn’t a valid solution. We need to not pass in all arguments as command line arguments. They should be set as environment vars.

from spring-cloud-deployer-local.

mminella avatar mminella commented on August 12, 2024

This approach also serves as a security issue. Command line args are stored plain text in the database (and are also available via ps -ef). Secure configurations like db credentials should not be passed as command line args and should only be available via environment variables (or other secure configuration options).

from spring-cloud-deployer-local.

viniciusccarvalho avatar viniciusccarvalho commented on August 12, 2024

@cppwfs I think the culprit is here correct? https://github.com/spring-cloud/spring-cloud-deployer-local/blob/master/spring-cloud-deployer-local/src/main/java/org/springframework/cloud/deployer/spi/local/AbstractLocalDeployerSupport.java#L200

@markpollack We may need to have some sort of white list args we want to pass here. Besides the debug stuff that was added, anything else comes to your mind?

from spring-cloud-deployer-local.

cppwfs avatar cppwfs commented on August 12, 2024

@viniciusccarvalho Sorry, I should have answered your question earlier. Here is the line that is causing our fun:

from spring-cloud-deployer-local.

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.