)]}'
{
  "commit": "5ebe3bf10c68cf187a904f64768245604f4caaac",
  "tree": "bdec9732ddcabcb439282f8cae7c09c7020d9fd3",
  "parents": [
    "b59fb880bfa691694a4f4c8d1731d50ffbaae7dc"
  ],
  "author": {
    "name": "Abhishek Agrawal",
    "email": "81427947+AgraVator@users.noreply.github.com",
    "time": "Tue Dec 01 19:36:04 2026 +0530"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Dec 01 19:36:04 2026 +0530"
  },
  "message": "xds: Fix CIDR /0 matching and treat_missing_header_as_empty (#13212)\n\n`Matchers.CidrMatcher` used signed `BigInteger(byte[])` arithmetic\nright-shifts, excluding upper-half IPv4 (\u003e\u003d 128.0.0.0) and IPv6 (\u003e\u003d\n8000::) addresses from `/0` CIDR ranges. In `RbacFilter`, upper-half\npeers bypassed `0.0.0.0/0` and `::/0` policies. In\n`FilterChainMatchingProtocolNegotiators`, a `0.0.0.0/0` or `::/0`\n`prefix_ranges` or `source_prefix_ranges` entry failed to match\nupper-half addresses, causing `FilterChainSelector.select()` to silently\nfall through to `default_filter_chain` (applying a different TLS/mTLS\ncontext and HTTP filter chain, such as omitting RBAC), or to close the\nconnection when no default chain was configured. In addition,\n`RbacFilter.resolve` accepted an empty `CidrRange` `address_prefix`\nbecause `InetAddress.getByName(\"\")` returns loopback (`127.0.0.1/0`,\nmatching lower-half IPv4 previously and all IPv4 once `/0` is fixed).\n\nMeanwhile, `MatcherParser` and `Matchers.HeaderMatcher` ignored Envoy\n`HeaderMatcher.treat_missing_header_as_empty` in both RBAC and RDS route\nmatching, causing inverted header matchers to fail open when clients\nomitted the header.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "38b2db7ebca27b4e8356924aa6b75c89982ae9fd",
      "old_mode": 33188,
      "old_path": "xds/src/main/java/io/grpc/xds/RbacFilter.java",
      "new_id": "6e5ec5d46ce84fc7191ff8724cb7b9426d3e036f",
      "new_mode": 33188,
      "new_path": "xds/src/main/java/io/grpc/xds/RbacFilter.java"
    },
    {
      "type": "modify",
      "old_id": "205d00b015bd34c73afaa8254aba250a04f799f5",
      "old_mode": 33188,
      "old_path": "xds/src/main/java/io/grpc/xds/internal/MatcherParser.java",
      "new_id": "544dd170d6765c67bc80ce01b5d9aa4d2a7ffcdc",
      "new_mode": 33188,
      "new_path": "xds/src/main/java/io/grpc/xds/internal/MatcherParser.java"
    },
    {
      "type": "modify",
      "old_id": "4b0babdfca662ec04929f72cbb5eb3c2a6b65f3f",
      "old_mode": 33188,
      "old_path": "xds/src/main/java/io/grpc/xds/internal/Matchers.java",
      "new_id": "78cdb5ffdc09605f8ea7e7ba4f4833c0c4216817",
      "new_mode": 33188,
      "new_path": "xds/src/main/java/io/grpc/xds/internal/Matchers.java"
    },
    {
      "type": "modify",
      "old_id": "722f915dbeab3fc91cba8defd3d017171cad5111",
      "old_mode": 33188,
      "old_path": "xds/src/test/java/io/grpc/xds/FilterChainMatchingProtocolNegotiatorsTest.java",
      "new_id": "b4c2e9575367f341e1519b150f3efe8fd50ac230",
      "new_mode": 33188,
      "new_path": "xds/src/test/java/io/grpc/xds/FilterChainMatchingProtocolNegotiatorsTest.java"
    },
    {
      "type": "modify",
      "old_id": "4680f5703277f49bfe4bf6cff9c1f21f8f639a17",
      "old_mode": 33188,
      "old_path": "xds/src/test/java/io/grpc/xds/RbacFilterTest.java",
      "new_id": "6415edd6979b91ce54aa368d9c390eb4c1c1f567",
      "new_mode": 33188,
      "new_path": "xds/src/test/java/io/grpc/xds/RbacFilterTest.java"
    },
    {
      "type": "modify",
      "old_id": "86a6a95fd4b86d8fc710a35d961fc413853843f2",
      "old_mode": 33188,
      "old_path": "xds/src/test/java/io/grpc/xds/internal/MatcherParserTest.java",
      "new_id": "c509783b6be55753cd7b68e8368b8ac8be72ed19",
      "new_mode": 33188,
      "new_path": "xds/src/test/java/io/grpc/xds/internal/MatcherParserTest.java"
    },
    {
      "type": "modify",
      "old_id": "4e5d278d50f3ad2d511b4a8c4946c3b119227d19",
      "old_mode": 33188,
      "old_path": "xds/src/test/java/io/grpc/xds/internal/MatcherTest.java",
      "new_id": "82530e5b005952f7a24e5543dc05bc5f041b1953",
      "new_mode": 33188,
      "new_path": "xds/src/test/java/io/grpc/xds/internal/MatcherTest.java"
    }
  ]
}
