postinst file uses sha1sum, eval, nobody, nogroup

Bug #1898803 reported by Seth Arnold on 2020-10-06
256
This bug affects 1 person
Affects Status Importance Assigned to Milestone
google-android-ndk-installer (Ubuntu)
Undecided
Unassigned

Bug Description

Hello, the postinst file and Makefile use unsafe tools as part of installing an external package:

- use of eval in the Makefile on data from the fetched remote archive. This does come after the checksum is checked, so it's not world-burning, but it's poor form.

- The checksum used is sha1sum, which is no longer suitable for use for software integrity when retrieved over the public internet.

- The user nobody and the group nogroup are used incorrectly. This user and this group are reserved for NFS use and should not be used in other contexts.

Thanks

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. Since the package referred to in this bug is in universe or multiverse, it is community maintained. If you are able, I suggest coordinating with upstream and posting a debdiff for this issue. When a debdiff is available, members of the security team will review it and publish the package. See the following link for more information: https://wiki.ubuntu.com/SecurityTeam/UpdateProcedures

tags: added: community-security
Changed in google-android-ndk-installer (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public Security information  Edit
Everyone can see this security related information.

Other bug subscribers