Giter Site home page Giter Site logo

Comments (4)

Vrganj avatar Vrganj commented on August 11, 2024 1

It shouldn't be too bad given it's in a container, but sudo should definitely be updated on the server

from piston.

ryan-reichenberg avatar ryan-reichenberg commented on August 11, 2024

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.

lvfrazao avatar lvfrazao commented on August 11, 2024

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.

realtux avatar realtux commented on August 11, 2024

a poc was used to demonstrate this on piston and it was indeed vulnerable. sudo has been upgraded.

from piston.

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.