[MIR] libheif
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
aom (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
dav1d (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
libde265 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
libheif (Ubuntu) |
In Progress
|
Undecided
|
Unassigned | ||
x265 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Availablity]
The package libheif is already in ubuntu/universe.
The package libheif build for the architectures it is designed to work on.
It currently builds and works for architectures:
amd64 arm64 armhf i386 ppc64el riscv64 s390x
Link to package: https:/
[Rationale]
- The package libheif is required in Ubuntu main for decoding
ISO/IEC 23008-12:2017 HEIF files by libgd2 which is present in main.
- The package libheif will not generally be useful for a large part of our user
base, but is important/helpful still because no other package in main supports
decoding of ISO/IEC 23008-12:2017 HEIF files.
- The package libheif is a runtime dependency of package libgd2 that we already
support.
- It would be great and useful to community/processes to have the package
libheif in Ubuntu main, but there is no definitive deadline.
[Security]
- libheif had 4 security issues in the past:
- https:/
The github issue: https:/
though developer comments that it was fixed in 1.7.0
- https:/
Fixed in 1.5.0
- https:/
Fixed in 1.5.0.
- https:/
Fixed in 1.5.0.
The vulnerable versions are libheif < 1.7.0, current version 1.14.2
Currently vulnerable packages (CVE-2020-23109) are deployed in focal and
bionic. Jammy and up has no known vulnerabilitites.
- 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 contain extensions to security-sensitive software:
the package provides HEIF image plugin which processes untrusted input
[Quality assurance – function/usage]
- The package does not work well right after install. There is a bug filed in
debian: https:/
1.14.2 contains significant regression, HEIC can not be read using viewnoir.
- Basic test cases pass:
apt install imagemagick
wget https:/
convert -verbose sample1.heif test.gif
wget https:/
convert -verbose sample1.heic test1.gif
Notice, that libgd2 HEIF support is disabled.
- Compiling a sample that tries to save HEIF file produces following output
"GD Warning: HEIF image support has been disabled"
[Quality assurance - maintenance]
- The package is maintained well in Debian/Ubuntu and has no bugs open
- Ubuntu https:/
- Debian https:/
- The package has important open bugs, listing them:
- https:/
Confirm CVE-2020-23109 fix
- https:/
1.14.2 contains significant regression, HEIC can not be read using
viewnoir package [confirmed in lunar].
Downgrading to 1.13.0-1 solves the issue.
- The package does not deal with exotic hardware we cannot support
[Quality assurance – testing]
- The package does not run a test at build time because no unit tests are
present in the repository upstream:
https:/
https:/
- The package does not run an autopkgtest because no autopackage tests are
present.
Note: upstream contains a CI script that can be adapted for autopkgtests:
https:/
This section is not complete, as the test plan/approach for developing
autopkgtests needs to be discussed.
TODO: - The package can not be tested at build or autopktest time because TBD
TODO: to make up for that here TBD is a test plan/automation and example
TODO: test TBD (logs/scripts)
[Quality assurance - packaging]
- debian/watch is present and works BUT also get-orig-head target is present
in debian/rules that produces a different result.
There is no specific documentation on which method to use.
- debian/control defines a correct Maintainer field
- This package does not yield massive lintian Warnings, Errors
https:/
- Please link to a recent build log of the package
https:/
- Please attach the full output you have got from `lintian --pedantic` as an
extra post to this bug.
- Lintian overrides are not present
- This package relies on obsolete or about to be demoted packages
see https:/
libgdk-
- This package has no python2 or GTK2 dependencies
- 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)
- End-user applications without desktop file, not needed because application
does not provide GUI
[Dependencies]
- There are further dependencies that are not yet in main, MIR for them
is at:
- aom: LP: #2004442
- dav1d: LP: #2004446
- libde265: LP: #2004449
- x265: LP: #2004453
[Standards compliance]
- This package correctly follows FHS and Debian Policy
[Maintenance/Owner]
- Owning Team will be Foundations team
- Team is already subscribed to the package
- This does not use static builds
- This does not use vendored code
- This package is not rust based
[Background information]
The Package description explains the package well
Upstream Name is libheif
Link to upstream project https:/
CVE References
description: | updated |
Changed in libheif (Ubuntu): | |
status: | Incomplete → New |
Changed in imagemagick (Ubuntu): | |
status: | Invalid → Fix Released |
Changed in imagemagick (Ubuntu): | |
status: | Fix Released → Won't Fix |
no longer affects: | imagemagick (Ubuntu) |
tags: | removed: update-excuse |
Changed in aom (Ubuntu): | |
status: | New → Incomplete |
Changed in dav1d (Ubuntu): | |
status: | New → Incomplete |
Changed in libheif (Ubuntu): | |
status: | Incomplete → In Progress |
Changed in libgd2 (Ubuntu): | |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
tags: | added: rls-ll-incoming |
tags: | added: fr-3316 |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
tags: | removed: rls-ll-incoming |
I've had a look, certainly seems fine packaging-wise; but should be looked at by the Security Team.