diff options
| author | Tobias Geerinckx-Rice <me@tobias.gr> | 2019-10-23 19:43:02 +0200 |
|---|---|---|
| committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2019-10-23 19:58:48 +0200 |
| commit | 3f4ea9a62b5fa68d57724b2f83c35a191e33b7c8 (patch) | |
| tree | 89c23778ff146795ad9924e8582622cc2a5f76fe /gnu/packages/avahi.scm | |
| parent | dff0eedb04ac7c61fc1e2ddd4cd577f83f5eb89a (diff) | |
gnu: avahi: Fix CVE-2018-1000845 and duplicate CVE-2017-6519.
* gnu/packages/avahi.scm (avahi/fixed): New variable.
(avahi)[replacement]: Use it.
* gnu/packages/patches/avahi-CVE-2018-1000845.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
Diffstat (limited to 'gnu/packages/avahi.scm')
| -rw-r--r-- | gnu/packages/avahi.scm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/avahi.scm b/gnu/packages/avahi.scm index e71ffc29823..408be8ed57f 100644 --- a/gnu/packages/avahi.scm +++ b/gnu/packages/avahi.scm | |||
| @@ -35,6 +35,7 @@ | |||
| 35 | (package | 35 | (package |
| 36 | (name "avahi") | 36 | (name "avahi") |
| 37 | (version "0.7") | 37 | (version "0.7") |
| 38 | (replacement avahi/fixed) | ||
| 38 | (home-page "http://avahi.org") | 39 | (home-page "http://avahi.org") |
| 39 | (source (origin | 40 | (source (origin |
| 40 | (method url-fetch) | 41 | (method url-fetch) |
| @@ -74,6 +75,16 @@ network. It is an implementation of the mDNS (for \"Multicast DNS\") and | |||
| 74 | DNS-SD (for \"DNS-Based Service Discovery\") protocols.") | 75 | DNS-SD (for \"DNS-Based Service Discovery\") protocols.") |
| 75 | (license lgpl2.1+))) | 76 | (license lgpl2.1+))) |
| 76 | 77 | ||
| 78 | (define avahi/fixed | ||
| 79 | (package/inherit avahi | ||
| 80 | (source (origin | ||
| 81 | (inherit (package-source avahi)) | ||
| 82 | (patches | ||
| 83 | (append (search-patches "avahi-CVE-2018-1000845.patch") | ||
| 84 | (origin-patches (package-source avahi)))))) | ||
| 85 | ;; Hide a duplicate of the CVE fixed above. | ||
| 86 | (properties `((lint-hidden-cve . ("CVE-2017-6519")))))) | ||
| 87 | |||
| 77 | (define-public nss-mdns | 88 | (define-public nss-mdns |
| 78 | (package | 89 | (package |
| 79 | (name "nss-mdns") | 90 | (name "nss-mdns") |
