[MIR] Promote ruby-ffi to main a pcs indirect dependency
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ruby-ffi (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Availability]
The package ruby-ffi is already in Ubuntu universe.
The package ruby-ffi build for the architectures it is designed to work on.
It currently builds and works for architectures: amd64, arm64, armhf, ppc64el, riscv64, s390x.
Link to package [[https:/
[Rationale]
The package ruby-ffi is required in Ubuntu main for ruby-ethon and ruby-childprocess promotions which are runtime dependencies of pcs (the main reason for this promotion).
Ideally, we expect that ruby-ffi (and pcs) will be promoted in the
"L" development cycle. The idea is to promote only the ruby-ffi
binary.
[Security]
Required links:
https:/
A single CVE was found in 2018.
Nothing was found searching in the OSS security mailing list archive.
https:/
One CVE found in the Ubuntu security tracker which does not affect any release.
No `suid` or `sgid` binaries.
No executables in `/sbin` and `/usr/sbin`.
Package does not install services, timers or recurring jobs.
Packages does not open privileged ports (ports < 1024).
Packages does not contain extensions to security-sensitive software
(filters, scanners, plugins, UI skins, ...).
[Quality assurance - function/usage]
The package works well right after install.
[Quality assurance - maintenance]
The package is maintained well in Debian/Ubuntu and has not too many
and long term critical bugs open
- Ubuntu https:/
- Debian https:/
The package does not deal with exotic hardware we cannot support.
[Quality assurance - testing]
The package runs a test suite on build time, if it fails
it makes the build fail, link to build log:
The package runs an autopkgtest, and is currently passing on this list of architectures: amd64, arm64, armhf, i386, ppc64el, s390x.
Link to test logs:
https:/
The package does not have failing autopkgtests right now.
[Quality assurance - packaging]
debian/watch is present and works.
debian/control defines a correct Maintainer field.
Lintian overrides are not present. Here is the output of `lintian --pedantic` against Kinetic version:
W: ruby-ffi source: unnecessary-
P: ruby-ffi source: update-
This package does not rely on obsolete or about to be demoted packages.
The package will not be installed by default.
Packaging and build is easy, link to d/rules:
https:/
[UI standards]
Application is not end-user facing (does not need translation).
[Dependencies]
No further depends or recommends dependencies that are not yet in main.
[Standards compliance]
This package correctly follows FHS and Debian Policy.
[Maintenance/Owner]
Owning Team will be Server.
Team is not yet, but will subscribe to the package before promotion.
This does not use static builds.
This does not use vendored code.
This package is not rust based.
The package has been built in the archive more recently than the last
test rebuild.
[Background information]
The Package description explains the package well.
Upstream Name is: ffi
Link to upstream project: https:/
Related branches
- Christian Ehrhardt : Approve
- Athos Ribeiro: Approve
- Canonical Server Reporter: Pending requested
-
Diff: 61 lines (+17/-0)1 file modifiedsubscriptions.yaml (+17/-0)
CVE References
description: | updated |
description: | updated |
Changed in ruby-ffi (Ubuntu): | |
assignee: | nobody → Ioanna Alifieraki (joalif) |
tags: | added: sec-1583 |
Review for Package: ruby-ffi
[Summary]
TODO: WRITE - TBD The essence of the review result from the MIR POV
MIR team ACK under the constraint to resolve the below listed
required TODOs and as much as possible having a look at the
recommended TODOs.
This does need a security review. Although, this package passes the
MIR security checklist, it is used to dynamically load other libraries
from inside ruby code and therefore I believe a security review is needed.
I don't assign the bug to security team until the required todos are addressed.
List of specific binary packages to be promoted to main: ruby-ffi
Notes:
TODO: - add todos, issues or special cases to discuss
Required TODOs:
1. Please make sure the latest version of ruby-ffi is packaged (1.15.5).
Current packaged version in both debian and ubuntu is 1.15.4 released
upstream in Sep 2021. The latest upstream release is 1.15.5 released in
Jan 2022.
Recommended TODOs:
- The package should get a team bug subscriber before being promoted
[Duplication]
There is no other package in main providing the same functionality.
[Dependencies]
OK:
- no other Dependencies to MIR due to this
- ruby-ffi checked with `check-mir`
- all dependencies can be found in `seeded-in-ubuntu` (already in main)
- none of the (potentially auto-generated) dependencies (Depends
and Recommends) that are present after build are not in main
- no -dev/-debug/-doc packages that need exclusion
- No dependencies in main that are only superficially tested requiring
more tests now.
Problems: None
[Embedded sources and static linking]
OK:
- no embedded source present
- no static linking
- does not have unexpected Built-Using entries
- not a go package, no extra constraints to consider in that regard
- not a rust package, no extra constraints to consider in that regard
- Does not include vendored code
Problems: None
[Security]
OK:
- history of CVEs does not look concerning
- does not run a daemon as root
- does not use webkit1,2
- does not use lib*v8 directly
- does not parse data formats (files [images, video, audio,
xml, json, asn.1], network packets, structures, ...) from
an untrusted source.
- does not open a port/socket
- does not process arbitrary web content
- does not use centralized online accounts
- does not integrate arbitrary javascript into the desktop
- does not deal with system authentication (eg, pam), etc)
- does not deal with security attestation (secure boot, tpm, signatures)
- does not deal with cryptography (en-/decryption, certificates, signing, ...)
Problems: None
[Common blockers]
OK:
- does not FTBFS currently
- does have a test suite that runs at build time
- test suite fails will fail the build upon error.
- does have a non-trivial test suite that runs as autopkgtest
- no new python2 dependency
Problems: None
[Packaging red flags] sporadic)
OK:
- Ubuntu does not carry a delta (all 3 patches present, inherited from debian)
- symbols tracking not applicable for this kind of code.
- d/watch is present and looks ok (if needed, e.g. non-native)
- Upstream update history is (good/slow/
- Debian/Ubuntu update history is slow
- promoting this does not seem to cause issues for MOTUs that s...