[MIR]: dependency of bind9
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Release Notes for Ubuntu |
Fix Released
|
Undecided
|
Andreas Hasenack | ||
libmaxminddb (Ubuntu) |
Fix Released
|
Undecided
|
Andreas Hasenack | ||
nginx (Ubuntu) |
Fix Released
|
Undecided
|
Andreas Hasenack | ||
python-geoip2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
python-maxminddb (Ubuntu) |
Fix Released
|
Undecided
|
Andreas Hasenack |
Bug Description
== MIR for libmaxminddb bug task ==
(for the python-geoip2 bug task, please see https:/
(for the python-maxminddb bug task MIR, see https:/
Availability:
The package is in universe and builds for amd64 arm64 armhf i386 ppc64el s390x
https:/
Rationale:
The package is a build dependency of the new bind9 9.16.x codebase.
Upstream (maxminddb) deprecated the old libgeoip1 library which is what bind9 9.11.x used, and was used with bind9 up to 9.15.1
Not building bind9 9.16.x with this support means a regression in bind9 when compared with previous ubuntu releases.
This will also reduce our delta with debian, since they enable geoip2.
See https:/
See https:/
See https:/
Security:
* http://
- no hits for "maxmind", "maxminddb", "libmaxminddb" other than a javascript implementation of this api
* check OSS security mailing list (feed 'site:www.
- a search for "maxmind" returned https:/
Ubuntu CVE Tracker
* http://
- no hits
* http://
- no hits
* http://
- no hits
* Check for security relevant binaries. If any are present, this requires a more in-depth security review.
- The packages provide just two binaries: the library (static and dynamic), and one tool used for queries.
* Executables which have the suid or sgid bit set.
- none
* Executables in /sbin, /usr/sbin.
- none
* Packages which install services / daemons (/etc/init.d/*, /etc/init/*, /lib/systemd/
- none
* Packages which open privileged ports (ports < 1024).
- none
* Add-ons and plugins to security-sensitive software (filters, scanners, UI skins, etc)
- this can optionally be used by bind9 in ACLs
Including bind9 in the CVE list, I found this old one which was related to the legacy geoip library:
https:/
Quality assurance:
* After installing the package it must be possible to make it working with a reasonable effort of configuration and documentation reading.
- it's a library, used by other packages, so the configuration details will vary in complexity. For bind9, for example, there is https:/
* The package must not ask debconf questions higher than medium if it is going to be installed by default. The debconf questions must have reasonable defaults.
- no debconf questions
* There are no long-term outstanding bugs which affect the usability of the program to a major degree. To support a package, we must be reasonably convinced that upstream supports and cares for the package.
- there are no open bugs in ubuntu besides the MIR (https:/
- there are no open bugs in debian: https:/
- very few bugs open upstream: https:/
- most tagged with "enhancement"
- closed bugs list shows more activity: https:/
- debian tracker: https:/
- there doesn't seem to be much activity
- there is a warning about cflags in the build logs, something we could fix
- same for multiarch warnings
- standards version can be updated
- new upstream version available (1.4.2), not updated in debian. Perhaps because 1.4.0 and 1.4.1 are tagged with "DO NOT USE" by upstream (see https:/
* The package should not deal with exotic hardware which we cannot support.
- no exotic hardware
* If the package ships a test suite, and there is no obvious reason why it cannot work during build (e. g. it needs root privileges or network access), it should be run during package build, and a failing test suite should fail the build.
- moure than a thousand tests are run at build time
* The package uses a debian/watch file whenever possible. In cases where this is not possible (e. g. native packages), the package should either provide a debian/
- there is a working d/watch file:
uscan
uscan: Newest version of libmaxminddb on remote site is 1.4.2, local version is 1.3.2
uscan: => Newer package available from
https:/
Successfully symlinked ../libmaxminddb
* It is often useful to run lintian --pedantic on the package to spot the most common packaging issues in advance
$ lintian -I --pedantic
E: libmaxminddb changes: bad-distributio
W: libmaxminddb source: incomplete-
W: libmaxminddb source: tab-in-license-text debian/copyright (paragraph at line 58)
I: libmaxminddb0: hardening-
I: libmaxminddb source: testsuite-
P: libmaxminddb-dev: copyright-
P: libmaxminddb0: copyright-
P: mmdb-bin: copyright-
P: libmaxminddb source: file-contains-
P: libmaxminddb source: insecure-
P: libmaxminddb source: package-
P: libmaxminddb source: rules-requires-
Of the above, we can probably easily fix hardening-
* The package should not rely on obsolete or about to be demoted packages. That currently includes package dependencies on Python2 (without providing Python3 packages), and packages depending on GTK2.
- I didn't spot any such reliance on old or obsolete packages.
Dependencies:
* All binary dependencies (including Recommends:) must be satisfiable in main (i. e. the preferred alternative must be in main). If not, these dependencies need a separate MIR report (this can be a separate bug or another task on the main MIR bug)
- runtime dependencies of libmaxminddb0:
- Depends: libc6 (>= 2.14), Suggests: mmdb-bin
- runtime dependencies of libmaxmibddb-dev:
- Depends: libmaxminddb0 (= 1.3.2-1)
- runtime dependencies of mmdb-bin:
- Depends: libc6 (>= 2.17), libmaxminddb0 (>= 1.0.2)
- build-dependencies include packages from universe, but these are used for running the tests:
$ check-mir
Checking support status of build dependencies...
* libipc-run3-perl binary and source package is in universe
* libtest-output-perl binary and source package is in universe
Standards compliance: The package should meet the FHS and Debian Policy standards. Major violations should be documented and justified. Also, the source packaging should be reasonably easy to understand and maintain.
- Old Standards-Version: 4.1.4 from april 2018 (current is 4.5.0.0 from 2020-01-20)
- d/rules is small and easy to maintain
- package uses debhelper, could just use an update in the dh level
- I don't see any complications in the source package
Maintenance: The package must have an acceptable level of maintenance corresponding to its complexity:
* All packages must have a designated "owning" team, regardless of complexity, which is set as a package bug contact.
- server team will own this package
* Simple packages (e.g. language bindings, simple Perl modules, small command-line programs, etc.) might not need very much maintenance effort, and if they are maintained well in Debian we can just keep them synced
- single library, with the usual runtime, -dev, and one binary tool packages
- this package is already a sync from debian
Background information:
* The package descriptions should explain the general purpose and context of the package. Additional explanations/
- the descriptions in d/control are good
Related branches
- Steve Langasek: Approve
- Iain Lane: Approve
- Christian Ehrhardt : Approve
-
Diff: 13 lines (+1/-1)1 file modifieddevelopment (+1/-1)
CVE References
description: | updated |
description: | updated |
Changed in libmaxminddb (Ubuntu): | |
assignee: | Andreas Hasenack (ahasenack) → nobody |
Changed in libmaxminddb (Ubuntu): | |
assignee: | nobody → Andreas Hasenack (ahasenack) |
Changed in python-geoip2 (Ubuntu): | |
assignee: | nobody → Christian Ehrhardt (paelzer) |
Changed in python-geoip2 (Ubuntu): | |
status: | In Progress → Fix Committed |
I did a quick check on the libgeoip1 rdeps, and found just two that are in main: mod-http- geoip (from nginx)
bin: python3-geoip (from src: python-geoip)
bin: libnginx-
Maybe we can even demote the legacy library to universe, I'll see what I can find.