Commit Graph

8 Commits

Author SHA1 Message Date
Peter Korsgaard
8be2d4ab29 package/haproxy: security bump to version 1.9.15
- Fix CVE-2020-11100: In hpack_dht_insert in hpack-tbl.c in the HPACK
  decoder in HAProxy 1.8 through 2.x before 2.1.4, a remote attacker can
  write arbitrary bytes around a certain location on the heap via a
  crafted HTTP/2 request, possibly causing remote code execution.

  https://www.mail-archive.com/haproxy@formilux.org/msg36878.html

Furthermore, 1.9.14 contains a number of bugfixes.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-04-09 09:41:47 +02:00
Peter Korsgaard
7360fba5a5 package/haproxy: security bump to version 1.9.13
Fixes the following security vulnerabilities:

- CVE-2019-19330: The HTTP/2 implementation in HAProxy before 2.0.10
  mishandles headers, as demonstrated by carriage return (CR, ASCII 0xd),
  line feed (LF, ASCII 0xa), and the zero character (NUL, ASCII 0x0), aka
  Intermediary Encapsulation Attacks (1.9.13)

- CVE-2019-14241: HAProxy through 2.0.2 allows attackers to cause a denial
  of service (ha_panic) via vectors related to
  htx_manage_client_side_cookies in proto_htx.c (1.9.9)

- CVE-2019-11323: HAProxy before 1.9.7 mishandles a reload with rotated
  keys, which triggers use of uninitialized, and very predictable, HMAC
  keys.  This is related to an include/types/ssl_sock.h error (1.9.7)

In addition, a large number of non-security related bugs have been fixed.
See the changelog for details:

https://www.haproxy.org/download/1.9/src/CHANGELOG

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-12-03 17:36:25 +01:00
Fabrice Fontaine
14cb4d2ab3 package/haproxy: bump to version 1.9.1
Remove patch and tweak haproxy.mk to adapt pcre-config/pcre2-config
workaround with upstream solution.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-01-13 21:53:51 +01:00
Fabrice Fontaine
f22fca4bf2 haproxy: tweak thread activation
If threads are enabled, as described in include/common/hathreads.h,
haproxy uses __sync_*_4 intrisics if gcc < 4.7. Otherwise, haproxy
uses __atomic_ intrinsics.

As a result, instead of adding a dependency on BR2_TOOLCHAIN_HAS_SYNC_4
and BR2_TOOLCHAIN_HAS_ATOMIC in Config.in, enable threads only if the
dependencies are fulfilled in haproxy.mk

Fixes:
 - http://autobuild.buildroot.org/results/7f24873ecdd9246c95c03bb8d2fcd4c16c488c6c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-10-03 09:47:13 +02:00
Fabrice Fontaine
b02427f19d haproxy: fix linking with lua
Use LUA_LIB_NAME to give lua library name otherwise haproxy can't find
it

Fixes:
 - http://autobuild.buildroot.net/results/28b6672188bb0082ac1467d3b45904880e3634f3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-10-01 15:16:50 +02:00
Fabrice Fontaine
2ee1be2d49 haproxy: fix build with pcre2
Add a patch to customize path to pcre-config or pcre2-config instead of
messing with PCREDIR, PCRE2DIR and PCRE2_LDFLAGS variables

Fixes:
 - http://autobuild.buildroot.net/results/490bc87b43074623d2338cfd2acb77d5de0abaa6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-09-30 11:36:03 +02:00
Fabrice Fontaine
8e4f6b2fc5 haproxy: security bump to 1.8.14
Fix CVE-2018-14645 (see
https://www.mail-archive.com/haproxy@formilux.org/msg31253.html)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-09-28 15:08:05 +02:00
Fabrice Fontaine
169fc99ef2 haproxy: new package
HAProxy is a free, very fast and reliable solution offering
high availability, load balancing, and proxying for TCP and
HTTP-based applications.

http://www.haproxy.org

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-09-27 21:40:34 +02:00