Thomas Perale
6f191b4dcc
package/cpp-httplib: add patch for CVE-2025-46728
...
Fix the following vulnerability:
- CVE-2025-46728
cpp-httplib is a C++ header-only HTTP/HTTPS server and client library.
Prior to version 0.20.1, the library fails to enforce configured size
limits on incoming request bodies when `Transfer-Encoding: chunked` is
used or when no `Content-Length` header is provided. A remote attacker
can send a chunked request without the terminating zero-length chunk,
causing uncontrolled memory allocation on the server. This leads to
potential exhaustion of system memory and results in a server crash or
unresponsiveness. Version 0.20.1 fixes the issue by enforcing limits
during parsing. If the limit is exceeded at any point during reading,
the connection is terminated immediately. A short-term workaround
through a Reverse Proxy is available. If updating the library
immediately is not feasible, deploy a reverse proxy (e.g., Nginx,
HAProxy) in front of the `cpp-httplib` application. Configure the
proxy to enforce maximum request body size limits, thereby stopping
excessively large requests before they reach the vulnerable library
code.
For more information, see:
- https://www.cve.org/CVERecord?id=CVE-2025-46728
- https://github.com/yhirose/cpp-httplib/commit/7b752106ac42bd5b907793950d9125a0972c8e8e
Signed-off-by: Thomas Perale <thomas.perale@mind.be >
(cherry picked from commit aea7c89396 )
Signed-off-by: Julien Olivain <ju.o@free.fr >
(cherry picked from commit fd313c4ceb )
Signed-off-by: Thomas Perale <thomas.perale@mind.be >
2025-09-05 17:26:55 +02:00
..
2025-05-16 20:00:37 +02:00
2025-05-18 15:31:25 +02:00
2025-06-24 20:37:18 +02:00
2025-05-16 16:22:53 +02:00
2025-08-14 09:29:14 +02:00
2025-06-04 15:33:04 +02:00
2025-08-07 19:08:23 +02:00
2025-05-16 16:42:22 +02:00
2025-05-28 21:52:27 +02:00
2025-05-28 21:52:27 +02:00
2025-05-17 10:04:02 +02:00
2025-08-07 19:08:59 +02:00
2025-09-04 14:11:09 +02:00
2025-08-21 10:54:12 +02:00
2025-05-16 20:00:37 +02:00
2025-04-25 18:14:28 +02:00
2025-06-24 20:37:42 +02:00
2025-08-21 10:53:30 +02:00
2025-08-07 19:09:40 +02:00
2025-07-03 10:57:21 +02:00
2025-05-06 22:03:28 +02:00
2025-05-17 22:36:03 +02:00
2025-05-17 23:28:00 +02:00
2025-07-10 11:39:32 +02:00
2025-08-14 09:32:24 +02:00
2025-09-04 14:11:44 +02:00
2025-06-24 20:40:03 +02:00
2025-04-21 10:44:36 +02:00
2025-05-20 22:50:59 +02:00
2025-05-16 21:50:33 +02:00
2025-05-17 16:27:38 +02:00
2025-08-07 19:09:09 +02:00
2025-05-17 10:13:23 +02:00
2025-07-03 10:50:26 +02:00
2025-08-14 09:33:36 +02:00
2025-06-24 20:41:54 +02:00
2025-05-13 18:56:24 +02:00
2025-05-07 19:25:58 +02:00
2025-09-05 17:26:55 +02:00
2025-08-14 09:33:16 +02:00
2025-07-10 11:39:09 +02:00
2025-04-25 18:12:04 +02:00
2025-07-10 11:35:03 +02:00
2025-05-16 18:33:11 +02:00
2025-04-21 10:44:25 +02:00
2025-05-13 22:31:05 +02:00
2025-04-21 19:07:54 +02:00
2025-05-13 22:37:30 +02:00
2025-06-04 21:36:43 +02:00
2025-05-18 11:53:18 +02:00
2025-06-24 20:39:33 +02:00
2025-05-17 21:57:53 +02:00
2025-05-18 14:15:50 +02:00
2025-06-24 20:37:23 +02:00
2025-06-24 20:37:28 +02:00
2025-06-09 16:23:18 +02:00
2025-04-25 18:12:04 +02:00
2025-05-13 11:39:24 +02:00
2025-05-16 20:00:37 +02:00
2025-06-01 17:51:56 +02:00
2025-08-21 16:33:37 +02:00
2025-09-05 17:08:52 +02:00
2025-05-27 21:48:58 +02:00
2025-05-16 20:00:37 +02:00
2025-07-15 22:59:17 +02:00
2025-05-18 16:00:33 +02:00
2025-06-03 22:26:38 +02:00
2025-04-28 22:12:47 +02:00
2025-05-16 20:00:37 +02:00
2025-05-12 22:04:47 +02:00
2025-05-16 20:00:37 +02:00
2025-09-04 14:15:31 +02:00
2025-04-21 16:24:44 +02:00
2025-05-12 17:26:43 +02:00
2025-08-14 09:33:43 +02:00
2025-05-18 11:47:22 +02:00
2025-05-16 09:46:01 +02:00
2025-05-16 11:48:02 +02:00
2025-04-21 23:19:59 +02:00
2025-04-21 19:08:08 +02:00
2025-04-21 19:08:14 +02:00
2025-05-18 14:17:09 +02:00
2025-05-18 22:41:43 +02:00
2025-04-21 16:25:56 +02:00
2025-07-10 11:38:46 +02:00
2025-08-21 10:48:26 +02:00
2025-08-09 19:34:40 +02:00
2025-05-08 21:31:18 +02:00
2025-08-14 09:33:59 +02:00
2025-07-11 14:20:04 +02:00
2025-08-14 09:29:42 +02:00
2025-04-21 10:44:40 +02:00
2025-05-07 19:18:06 +02:00
2025-05-28 21:47:26 +02:00
2025-07-17 13:17:37 +02:00
2025-08-14 09:29:46 +02:00
2025-09-04 14:21:43 +02:00
2025-04-23 21:21:31 +02:00
2025-08-14 09:32:29 +02:00
2025-08-21 16:35:42 +02:00
2025-05-28 21:52:27 +02:00
2025-07-03 10:57:30 +02:00
2025-07-10 11:36:20 +02:00
2025-05-18 23:06:43 +02:00
2025-05-13 19:02:22 +02:00
2025-07-10 11:39:46 +02:00
2025-05-18 18:45:06 +02:00
2025-05-05 12:38:17 +02:00
2025-04-21 23:34:49 +02:00
2025-05-18 22:42:54 +02:00
2025-05-09 14:20:37 +02:00
2025-05-16 20:00:37 +02:00
2025-05-17 09:07:10 +02:00
2025-05-12 22:01:02 +02:00
2025-05-17 16:57:13 +02:00
2025-05-17 16:57:13 +02:00
2025-05-13 22:40:57 +02:00
2025-05-12 21:43:27 +02:00
2025-08-21 10:50:20 +02:00
2025-09-04 14:22:53 +02:00
2025-04-22 21:30:47 +02:00
2025-06-09 16:53:21 +02:00
2025-04-21 19:07:50 +02:00
2025-08-14 09:33:31 +02:00
2025-05-07 18:23:43 +02:00
2025-07-10 11:36:15 +02:00
2025-05-17 11:46:14 +02:00
2025-09-05 17:23:16 +02:00
2025-05-16 11:49:56 +02:00
2025-05-16 20:00:37 +02:00
2025-05-28 21:52:29 +02:00
2025-05-17 17:47:05 +02:00
2025-05-17 17:47:05 +02:00
2025-05-11 12:09:26 +02:00
2025-08-07 19:09:28 +02:00
2025-08-14 09:34:06 +02:00
2025-07-03 10:57:18 +02:00
2025-07-15 22:58:16 +02:00
2025-07-10 11:31:30 +02:00
2025-06-24 20:42:04 +02:00
2025-07-03 10:54:06 +02:00
2025-05-28 21:52:30 +02:00
2025-05-16 15:12:22 +02:00
2025-09-04 14:20:07 +02:00
2025-08-07 19:08:13 +02:00
2025-04-23 21:08:28 +02:00
2025-07-15 22:50:37 +02:00
2025-07-17 22:24:23 +02:00
2025-08-21 10:54:07 +02:00
2025-08-07 19:09:23 +02:00
2025-09-04 08:51:02 +02:00
2025-07-17 22:24:17 +02:00
2025-05-17 22:36:24 +02:00
2025-05-17 12:39:37 +02:00
2025-04-24 23:01:47 +02:00
2025-08-07 19:07:51 +02:00
2025-09-04 14:05:37 +02:00
2025-05-17 12:37:16 +02:00
2025-07-03 10:57:55 +02:00
2025-05-28 21:52:27 +02:00
2025-06-24 20:40:08 +02:00
2025-07-10 11:40:06 +02:00
2025-08-14 09:29:56 +02:00
2025-05-09 21:48:15 +02:00
2025-07-15 22:51:53 +02:00
2025-05-16 13:54:02 +02:00
2025-09-05 17:23:59 +02:00
2025-09-05 17:24:42 +02:00
2025-04-28 22:21:58 +02:00
2025-04-22 20:46:42 +02:00
2025-08-07 19:09:16 +02:00
2025-07-03 10:57:46 +02:00
2025-06-24 20:40:57 +02:00
2025-05-17 11:30:16 +02:00
2025-05-09 14:58:45 +02:00
2025-05-18 14:15:50 +02:00
2025-04-21 16:25:14 +02:00
2025-08-14 09:30:31 +02:00
2025-07-10 11:38:32 +02:00
2025-06-24 20:41:14 +02:00
2025-04-28 22:21:55 +02:00
2025-05-17 13:00:23 +02:00
2025-05-15 07:51:32 +02:00
2025-05-17 10:11:32 +02:00
2025-05-17 10:08:49 +02:00
2025-05-17 10:08:35 +02:00
2025-05-16 10:14:35 +02:00
2025-07-10 11:39:04 +02:00
2025-09-04 14:15:11 +02:00
2025-08-07 19:11:47 +02:00
2025-08-14 09:29:09 +02:00
2025-06-12 12:36:07 +02:00
2025-09-04 14:14:32 +02:00
2025-05-10 19:14:28 +02:00
2025-08-21 10:53:06 +02:00
2025-05-17 17:06:32 +02:00
2025-07-10 11:40:01 +02:00
2025-05-06 22:15:31 +02:00
2025-05-17 12:45:23 +02:00
2025-09-04 14:00:21 +02:00
2025-08-07 19:09:26 +02:00
2025-05-12 21:43:26 +02:00
2025-05-17 17:08:02 +02:00
2025-08-07 19:11:45 +02:00
2025-05-17 11:30:15 +02:00
2025-05-16 20:00:37 +02:00
2025-08-14 09:33:21 +02:00
2025-09-04 14:19:06 +02:00
2025-09-04 14:16:53 +02:00
2025-07-03 10:50:36 +02:00
2025-09-04 14:08:05 +02:00
2025-05-18 12:14:56 +02:00
2025-06-09 16:06:28 +02:00
2025-08-14 09:29:42 +02:00
2025-06-24 20:41:05 +02:00
2025-08-07 19:08:57 +02:00
2025-08-07 22:10:43 +02:00
2025-07-02 18:38:21 +02:00
2025-08-21 10:49:07 +02:00
2025-05-26 22:15:58 +02:00
2025-05-17 09:28:58 +02:00
2025-09-04 14:14:13 +02:00
2025-05-11 11:33:02 +02:00
2025-08-07 19:08:21 +02:00
2025-05-18 16:00:32 +02:00
2025-05-17 16:34:09 +02:00
2025-04-22 22:40:28 +02:00
2025-04-21 19:05:01 +02:00
2025-06-09 16:23:39 +02:00
2025-06-05 21:55:19 +02:00
2025-05-17 12:39:37 +02:00
2025-08-07 19:11:29 +02:00
2025-06-24 20:41:43 +02:00
2025-04-29 22:33:45 +02:00
2025-08-07 19:11:31 +02:00
2025-07-10 11:31:26 +02:00
2025-06-04 15:23:40 +02:00
2025-08-07 19:09:18 +02:00
2025-06-05 10:55:42 +02:00
2025-07-03 10:50:21 +02:00
2025-05-17 09:07:31 +02:00
2025-05-05 23:35:46 +02:00
2025-07-03 10:53:23 +02:00
2025-05-16 16:47:14 +02:00
2025-08-14 09:33:48 +02:00
2025-04-21 16:24:55 +02:00
2025-04-28 22:06:42 +02:00
2025-07-17 13:17:31 +02:00
2025-08-07 19:08:53 +02:00
2025-07-10 11:34:49 +02:00
2025-05-16 20:00:37 +02:00
2025-05-13 21:29:28 +02:00
2025-05-17 11:30:16 +02:00
2025-05-18 14:15:50 +02:00
2025-08-07 19:08:25 +02:00
2025-07-03 10:53:29 +02:00
2025-08-14 09:33:06 +02:00
2025-06-04 20:15:14 +02:00
2025-05-18 21:49:45 +02:00
2025-05-10 19:18:28 +02:00
2025-08-07 19:08:34 +02:00
2025-05-16 20:00:37 +02:00
2025-05-12 21:51:18 +02:00
2025-05-17 12:48:53 +02:00
2025-08-21 10:51:17 +02:00
2025-08-07 19:07:49 +02:00
2025-07-17 22:24:19 +02:00
2025-08-21 10:53:46 +02:00
2025-04-21 16:25:02 +02:00
2025-08-21 16:33:49 +02:00
2025-08-21 10:53:58 +02:00
2025-05-16 12:08:05 +02:00
2025-05-18 15:54:25 +02:00
2025-04-29 21:50:39 +02:00
2025-04-29 21:50:35 +02:00
2025-04-29 21:50:31 +02:00
2025-08-07 19:11:27 +02:00
2025-04-21 10:44:33 +02:00
2025-05-16 20:00:37 +02:00
2025-05-16 20:00:37 +02:00
2025-07-15 22:48:29 +02:00
2025-08-07 19:07:57 +02:00
2025-05-09 15:46:00 +02:00
2025-08-07 19:11:49 +02:00
2025-08-14 09:32:49 +02:00
2025-08-14 09:29:04 +02:00
2025-04-22 21:39:44 +02:00
2025-08-07 19:08:02 +02:00
2025-05-17 10:12:16 +02:00
2025-05-17 21:07:20 +02:00
2025-08-21 10:53:40 +02:00
2025-05-16 20:00:37 +02:00
2025-09-05 17:24:31 +02:00
2025-05-14 07:19:46 +02:00
2025-05-16 15:31:48 +02:00
2025-08-14 09:33:11 +02:00
2025-09-05 17:25:51 +02:00
2025-09-04 14:00:14 +02:00
2025-08-07 19:08:10 +02:00
2025-05-12 21:55:07 +02:00
2025-05-16 16:19:45 +02:00
2025-08-07 19:08:15 +02:00
2025-05-16 20:00:37 +02:00
2025-04-21 17:38:21 +02:00
2025-04-21 17:38:18 +02:00
2025-05-16 16:56:37 +02:00
2025-05-21 19:41:39 +02:00
2025-05-16 20:00:37 +02:00
2025-08-07 19:08:08 +02:00
2025-08-07 19:08:19 +02:00
2025-06-24 20:39:42 +02:00
2025-07-03 10:53:39 +02:00
2025-08-07 19:07:53 +02:00
2025-05-16 13:55:09 +02:00
2025-05-28 21:52:26 +02:00
2025-07-10 11:38:55 +02:00
2025-06-24 20:44:16 +02:00
2025-05-30 21:40:33 +02:00
2025-09-04 14:22:19 +02:00
2025-05-16 19:54:54 +02:00
2025-05-12 22:10:26 +02:00
2025-05-16 20:00:37 +02:00
2025-08-07 19:08:17 +02:00
2025-07-10 11:38:51 +02:00
2025-05-16 16:55:03 +02:00
2025-05-16 16:54:43 +02:00
2025-08-21 10:51:31 +02:00
2025-05-16 20:00:37 +02:00
2025-08-12 15:02:04 +02:00
2025-05-28 21:57:35 +02:00
2025-05-28 21:57:35 +02:00
2025-05-16 16:19:49 +02:00
2025-05-18 16:43:04 +02:00
2025-09-04 14:00:47 +02:00
2025-05-22 21:58:33 +02:00
2025-06-24 20:40:15 +02:00
2025-06-24 20:39:54 +02:00
2025-05-16 20:00:37 +02:00
2025-05-16 20:00:37 +02:00
2025-04-21 17:38:24 +02:00
2025-04-20 21:05:50 +02:00
2025-05-16 20:00:37 +02:00
2025-08-07 19:08:06 +02:00
2025-08-07 19:08:55 +02:00
2025-05-22 21:23:29 +02:00
2025-05-16 16:48:48 +02:00
2025-05-16 16:51:09 +02:00
2025-07-17 22:24:22 +02:00
2025-05-16 16:19:46 +02:00
2025-07-10 11:34:44 +02:00
2025-05-13 23:01:10 +02:00
2025-09-04 14:05:56 +02:00
2025-05-18 13:56:00 +02:00
2025-08-14 09:30:06 +02:00
2025-04-22 23:52:13 +02:00
2025-06-06 22:05:03 +02:00
2025-06-06 22:05:07 +02:00
2025-08-07 19:11:22 +02:00
2025-05-29 21:20:58 +02:00
2025-06-04 20:42:45 +02:00
2025-05-16 21:53:45 +02:00
2025-06-24 20:41:09 +02:00
2025-05-16 12:36:50 +02:00
2025-08-07 19:08:27 +02:00
2025-04-21 16:25:24 +02:00
2025-08-07 19:07:47 +02:00
2025-05-17 11:07:23 +02:00
2025-05-17 10:14:58 +02:00
2025-05-18 14:15:50 +02:00
2025-05-06 18:07:48 +02:00
2025-08-14 09:32:19 +02:00
2025-05-17 16:34:11 +02:00
2025-08-21 10:53:51 +02:00
2025-08-21 10:51:23 +02:00
2025-08-21 10:47:37 +02:00
2025-08-14 09:33:53 +02:00
2025-05-06 22:48:00 +02:00
2025-05-06 22:48:05 +02:00
2025-08-21 10:47:37 +02:00
2025-08-21 10:47:37 +02:00
2025-05-09 15:29:55 +02:00
2025-08-21 10:47:37 +02:00
2025-05-05 21:23:48 +02:00
2025-05-05 23:18:24 +02:00
2025-08-07 19:11:33 +02:00
2025-05-16 18:46:24 +02:00
2025-08-07 19:09:05 +02:00
2025-05-18 16:00:32 +02:00
2025-05-18 16:00:32 +02:00
2025-05-18 16:00:32 +02:00
2025-05-18 16:00:32 +02:00
2025-05-18 16:00:32 +02:00
2025-05-18 16:00:32 +02:00
2025-05-18 16:00:32 +02:00
2025-07-17 22:24:18 +02:00
2025-05-28 21:52:27 +02:00
2025-05-16 13:40:17 +02:00
2025-09-05 17:25:00 +02:00
2025-07-17 13:17:43 +02:00
2025-05-17 10:15:38 +02:00
2025-05-17 10:15:17 +02:00
2025-05-16 20:00:37 +02:00
2025-08-21 10:54:37 +02:00
2025-04-25 21:18:19 +02:00
2025-07-10 11:39:28 +02:00
2025-07-15 22:51:41 +02:00
2025-05-18 16:00:32 +02:00
2025-05-18 23:06:44 +02:00
2025-07-15 22:52:13 +02:00
2025-08-14 09:33:01 +02:00
2025-07-10 11:38:41 +02:00
2025-05-18 19:33:06 +02:00
2025-06-09 16:24:08 +02:00
2025-05-17 12:39:37 +02:00
2025-08-07 19:11:54 +02:00
2025-06-24 20:42:00 +02:00
2025-09-04 14:22:27 +02:00
2025-08-21 10:53:22 +02:00
2025-04-22 20:53:46 +02:00
2025-04-25 21:15:42 +02:00
2025-08-07 19:11:37 +02:00
2025-08-21 10:47:37 +02:00
2025-05-09 15:09:47 +02:00
2025-05-16 19:57:59 +02:00
2025-05-17 11:30:14 +02:00
2025-08-31 18:16:47 +02:00
2025-07-10 11:37:34 +02:00
2025-05-16 20:00:37 +02:00
2025-09-04 14:13:41 +02:00
2025-05-16 20:00:37 +02:00
2025-08-14 09:30:21 +02:00
2025-04-21 16:25:41 +02:00
2025-08-14 09:32:54 +02:00
2025-08-21 10:53:13 +02:00
2025-07-10 11:34:39 +02:00
2025-05-18 16:00:32 +02:00
2025-07-10 11:39:41 +02:00
2025-05-10 19:09:19 +02:00
2025-04-24 00:09:00 +02:00
2025-05-05 23:52:15 +02:00
2025-05-07 10:36:57 +02:00
2025-05-28 20:48:05 +02:00
2025-05-18 13:55:19 +02:00
2025-09-04 14:19:18 +02:00
2025-05-16 20:00:37 +02:00
2025-05-06 22:08:58 +02:00
2025-09-04 14:15:40 +02:00
2025-05-16 15:36:13 +02:00
2025-05-13 22:09:52 +02:00
2025-06-04 21:51:34 +02:00
2025-07-15 22:51:28 +02:00
2025-04-22 21:01:53 +02:00
2025-05-26 22:11:30 +02:00
2025-05-18 23:06:42 +02:00
2025-09-04 14:19:31 +02:00
2025-09-04 13:59:56 +02:00
2025-08-21 16:35:51 +02:00
2025-04-28 21:46:20 +02:00
2025-08-07 19:08:36 +02:00
2025-07-17 13:17:50 +02:00
2025-09-05 17:26:21 +02:00
2025-05-17 11:54:13 +02:00
2025-04-30 23:19:59 +02:00
2025-05-18 15:28:02 +02:00
2025-07-15 22:57:55 +02:00
2025-09-05 17:25:16 +02:00
2025-07-10 11:34:58 +02:00
2025-07-15 22:51:00 +02:00
2025-05-05 22:20:41 +02:00
2025-08-14 09:29:18 +02:00
2025-08-14 09:33:11 +02:00
2025-05-16 10:55:25 +02:00
2025-06-07 15:40:08 +02:00
2025-05-05 21:33:20 +02:00
2025-05-07 10:36:54 +02:00
2025-05-16 20:00:37 +02:00
2025-09-04 14:13:05 +02:00
2025-05-18 17:07:04 +02:00
2025-05-17 11:33:28 +02:00
2025-05-17 22:28:02 +02:00
2025-05-16 20:00:37 +02:00
2025-05-18 11:27:59 +02:00
2025-05-16 11:42:56 +02:00
2025-09-04 14:14:22 +02:00