Comments (4)
It shouldn't be too bad given it's in a container, but sudo should definitely be updated on the server
from piston.
Just for anyone wondering about this, the sudo binary will have to be updated manually until the patched version(1.9.5p2) is pushed upstream: https://ubuntu.com/security/cve-2021-3156
Looks to be pushed upstream in Arch: https://security.archlinux.org/AVG-1431 -- not sure about other distros though
from piston.
Not sure if helpful but I've been playing around with sudo
and have been using this Dockerfile to help me build different versions. Can be adapted for a bash script or something like that.
FROM ubuntu
RUN apt update && apt install -y git && git clone 'https://github.com/sudo-project/sudo.git'
WORKDIR sudo
RUN git checkout SUDO_1_8_31
ENV DEBIAN_FRONTEND noninteractive
RUN apt -y install automake libtool pkg-config build-essential ccache
RUN ./configure && make && make install
run apt install -y ltrace gdb && chmod u+s /usr/bin/ltrace && chmod u+s /usr/bin/gdb
run apt install -y python3.8
run ln -s /usr/bin/python3.8 /usr/bin/py
# RUN useradd -u 9001 non-root
# USER 9001
WORKDIR /
ENTRYPOINT bash
from piston.
a poc was used to demonstrate this on piston and it was indeed vulnerable. sudo has been upgraded.
from piston.
Related Issues (20)
- PISTON_REPO_URL value when selfhosted HOT 3
- Add [HLA - High Level Assembly]
- Build piston from scratch - how to install runtimes? HOT 6
- Add config to handle cors
- Is there a way to piston on ARM?
- Add Nix
- Issue with self hosted python version OpenBLAS HOT 1
- Kotlin not working
- Bad Performance using Python HOT 1
- cpp thread library issue
- Support for Installing Additional Libraries for ML Code Evaluation HOT 4
- Adding Python Packages?
- input issue HOT 2
- No proper way of taking process.stdin input using JavaScript? HOT 3
- Go runtime exist some questions
- User App Support HOT 1
- Add [GML_or_GDS]//please
- C++ is unstable in piston api. HOT 2
- Problems working with images
- Is there a way to know that the submission failed due to Timeout HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from piston.