]> git.ipfire.org Git - thirdparty/FORT-validator.git/commitdiff
Protocolary updates for release 1.6.6 1.6.6
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Wed, 5 Feb 2025 22:29:48 +0000 (16:29 -0600)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Wed, 5 Feb 2025 22:29:48 +0000 (16:29 -0600)
configure.ac
docker/Dockerfile
docs/CVE.md
docs/_config.yml
man/fort.8
src/http/http.c
test/rrdp_test.c

index 45810018bc136dae925d871332c5d3ef85205a97..4000561ae70208b33bfd44c5bf09e726af516588 100644 (file)
@@ -2,7 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ([2.69])
-AC_INIT([fort],[1.6.5],[validadorfort@fortproject.net])
+AC_INIT([fort],[1.6.6],[validadorfort@fortproject.net])
 AC_CONFIG_SRCDIR([src/main.c])
 AM_INIT_AUTOMAKE([subdir-objects])
 
index 384dcd838a6467343959016e2f6d39a69cff7928..8619410382ae824e1534653f07775fccb3d6b4b6 100644 (file)
@@ -1,6 +1,6 @@
 #--- Alpine build container ---
 FROM alpine:latest AS builder
-ARG FORT_VERSION=1.6.5
+ARG FORT_VERSION=1.6.6
 
 # Install compiler and dependencies
 RUN apk --update --no-cache add build-base autoconf automake pkgconfig jansson-dev check-dev \
index 8e10af743003fa842691c50611eb3d766d6fb789..ac8b091a4c54d3c850f1c48eac38680e20ec842e 100644 (file)
@@ -94,3 +94,14 @@ Manifest containing empty `fileList` crashes Fort 1.6.3, 1.6.4.
 | Impact | Crash. (Potential unavailability of Route Origin Validation.) |
 | Patch | Commit [17f0952](https://github.com/NICMx/FORT-validator/commit/17f095210553182b0e0a28ee6fd41b0d3c8fc1d3), released in Fort 1.6.5. |
 | Acknowledgments | Niklas Vogel |
+
+# CVE-____-_____
+
+(Awaiting CVE number assignment.)
+
+CWE-167 in manifest validation in LACNIC FORT-Validator 1.6.5 induces invalidation of legitimate RPKI objects.
+
+| Description | RFC 9286 (section 6.4) states that all files from an RPKI Manifest need to be present for a given Repository Publication Point (RPP) to be considered valid. To optimize bandwidth usage and minimize cache burnout, FORT 1.6.5 is filtering unknown files during the rsync download step.<br>If an RPP provides (and lists in the Manifest) a file that is blocked by the rsync filters, and FORT downloads it via rsync, the filtered file will cause the relevant 9286 validation to drop all the other files from the RPP as well.<br>The rsync filters are necessary to prevent accidental cache pollution and minimize network traffic. Given their missing implementation, unknown objects provide no value to the RPKI validation process.<br>This vulnerability does not actually require an attacker; it's currently happening in the wild because of the introduction of new RPKI object "ASPA."<br>The reason why it's a security risk is because it results in the elimination of adjacent RPKI data, which tends to be trusted by some of the Internet's BGP routing infrastructure to make routing decisions. |
+| Impact | Partial unavailability of Route Origin Validation. |
+| Patch | Commit [7f3094d](https://github.com/NICMx/FORT-validator/commit/7f3094d8d50c32df208ed81e54a1da78e33167d9), released in Fort 1.6.6. |
+| Acknowledgements | Frank Hill |
index 2f6e0f98cbae87f7b590b0ee77f6f8a155b25c8b..5e9fea3d9711560da38f7e8085cce906005217c1 100644 (file)
@@ -8,7 +8,7 @@ defaults:
       layout: "default"
       image: "/img/logo_validador_og.png"
 
-fort-latest-version: 1.6.5
+fort-latest-version: 1.6.6
 plugins:
   - jekyll-seo-tag
   - jekyll-sitemap
index a5c104ce884be3cba94819eec707bb4679055341..08ee75b5e1abb00bdea3d74a66d316a26ad4ef34 100644 (file)
@@ -1,4 +1,4 @@
-.TH fort 8 "2024-12-18" "v1.6.5" "FORT validator"
+.TH fort 8 "2025-02-05" "v1.6.6" "FORT validator"
 
 .SH NAME
 fort \- RPKI validator and RTR server
@@ -1294,7 +1294,7 @@ well as some dummy Router Keys (BGPsec) info:
 .P
 
 .\".SH COPYRIGHT
-.\" FORT-validator 2024
+.\" FORT-validator 2025
 .\" MIT License
 
 .SH SEE ALSO
index 220563a48d67351ffbc40bfb214a51c30f8bc9c6..5ab96d559711b5414c23ee2fb45bb6f3114eca07 100644 (file)
@@ -1,7 +1,5 @@
 #include "http/http.h"
 
-#include <curl/curl.h>
-
 #include "cache/local_cache.h"
 #include "common.h"
 #include "config.h"
index 71317400ae8241a0fa02042b785bcfa2b8a3e345..df697b2ae62993b327b548590c4e2376de739331 100644 (file)
@@ -29,6 +29,7 @@ MOCK_ABORT_INT(relax_ng_parse, const char *path, xml_read_cb cb, void *arg)
 MOCK_ABORT_PTR(state_retrieve, validation, void)
 __MOCK_ABORT(tal_get_file_name, char const *, NULL, struct tal *tal)
 __MOCK_ABORT(uri_get_global, char const *, NULL, struct rpki_uri *uri)
+__MOCK_ABORT(uri_get_global_len, size_t, 0, struct rpki_uri *uri)
 __MOCK_ABORT(uri_get_local, char const *, NULL, struct rpki_uri *uri)
 __MOCK_ABORT(uri_get_rrdp_workspace, char *, NULL, char const *tal,
     struct rpki_uri *notif)