Add testbed for CVE-2025-0868#139
Conversation
|
Hi @tooryx , The bash script downloads the official release source code as a zip file, and that zip file contains the mentioned docker files (including the files that are used to build the image). If you want, I can remove the file download step, and put the source code zip directly here. |
|
Hi @frkngksl, It seems like the local version of the deployment (https://github.com/arc53/DocsGPT/blob/main/deployment/docker-compose-local.yaml) can be used. If that is the case, I would recommend:
What do you think? Thank you, |
|
Hi @tooryx , Okay, I will make these changes . In the mean time, you can test the plugin by installing this with the current bash script right? Thanks |
|
Hi @tooryx ,
The above docker-compose-local.yaml cannot be used to verify this vulnerability, because it only uses frontend container. We are using the following docker-compose.yaml https://github.com/arc53/DocsGPT/blob/0.12.0/docker-compose.yaml Since there are five distinct containers (3 of them will be built) in this compose file, doing what you recommend (seperate edited dockerfiles, cloning repository one by one, although worker is using the same build file with backend etc.) can make this setup process more complicated. What do you think? If you want I can put the source code here directly with a suitable .env file so that just running docker-compose would be enough to setup the testbed. (But remember that the current install.sh script downloads it and does the same thing by calling the official DocsGPT setup.sh script) Best regards, |
|
Hi @frkngksl, Here is my proposal: Just replace the content with a README file, and provide the following instructions.
I think it makes things way simpler. The Ideally, in the future we might want to use docker-in-docker to produce one composed image that is reproducible. We will see later. Let me know your thoughts. ~tooryx |
|
Hi @tooryx , That docker-in-docker idea sounds awesome. Okay, I will make the changes that you suggested today, and ping you when it is ready. Best regards, |
|
Hi @tooryx , Made the changes and tested the commands. |
|
Hi @tooryx , Found another forgotten one, in case you want to merge it to the master, just wanted to inform you. Best regards, |
Hello
This is a testbed for CVE-2025-0868
Issue is: google/tsunami-security-scanner-plugins#651