Skip to content

Releases

v1.8.3-rc2

v1.8.3-rc2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 02 Dec 16:34
523ecb5

New Features

Improvements

  • MatchKnownBot: add support for ASN (#4828) @blotus, @sabban
  • WAF: add support for decompressing request bodies (#4796) @blotus
  • exprhelpers: optional scenario argument for GetDecisionsCount, GetActiveDecisionsCount and GetActiveDecisionsTimeLeft (#4791) @tommy-ng0

Bug Fixes

  • apiserver: accept a bouncer whose auto-created row a concurrent request inserted (#4775) @somaz94
  • victorialogs: fix ending in \n auto rejected by parser issue (#4831) @IlayWolfson
  • apic: keep the push and metrics schedule when the token is dropped (#4862) @sabban
  • cscli-detect: handle debian httpd alias for apache2 (#4873) @blotus
  • waf: make argument limits breach a droppable error (#4874) @blotus
  • alertcontext: do not panic when a context expression returns nil (#4855) @Dukotah, @claude
  • crowdsec: don't start pprof with -t (#4865) @sabban, @claude
  • docker: fix log stream leak on long lines (#4826) @blotus
  • waf: do not double count query string args (#4834) @blotus
  • packaging: detect api.server.enable: false in postinst (#4818) @sabban, @claude
  • syslog log_media: only add log hook once (#4819) @blotus
  • api-client: only use api.client.tls config for LP->LAPI communications (#4823) @blotus
  • Serve metrics on a dedicated mux and make pprof opt-in (#4802) @p-w
  • tls: do not load system CA for auth (#4821) @blotus
  • fix parsing of noncompliant RFC3339 timestamps using a space separator (#4810) @gilbsgilbs
  • pipeline: don't preallocate bucket queues (#4800) @AdzerKI
  • [docker] Move final stage to trixie also (#4804) @albundy83
  • have less characters in the hub test socket name (#4785) @sabban

Chore / Deps

Geolite2 notice

This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.

Installation

Take a look at the installation instructions.

v1.8.3-rc1

v1.8.3-rc1 Pre-release
Pre-release

Choose a tag to compare

@sabban sabban released this 25 Nov 15:56
22836c2

What's Changed

  • build(deps): bump certifi from 2026.1.4 to 2026.10.19 in /build/docker/test by @dependabot[bot] in #4780
  • build(deps): bump the github-actions group with 2 updates by @dependabot[bot] in #4777
  • build(deps): bump the gomod group with 5 updates by @dependabot[bot] in #4778
  • have less characters in the hub test socket name by @sabban in #4785
  • build(deps): bump the github-actions group with 5 updates by @dependabot[bot] in #4793
  • build(deps): bump the gomod group with 15 updates by @dependabot[bot] in #4794
  • [docker] Move final stage to trixie also by @albundy83 in #4804
  • pipeline: don't preallocate bucket queues by @AdzerKI in #4800
  • exprhelpers: optional scenario argument for GetDecisionsCount, GetActiveDecisionsCount and GetActiveDecisionsTimeLeft by @tommy-ng0 in #4791
  • fix parsing of noncompliant RFC3339 timestamps using a space separator by @gilbsgilbs in #4810
  • build(deps): bump the gomod group with 17 updates by @dependabot[bot] in #4807
  • ci: fix for ubuntu 26.04 by @blotus in #4822
  • tls: do not load system CA for auth by @blotus in #4821
  • Update coraza by @blotus in #4815
  • capi: throttle signal push for non-enrolled instances and increase the batch size by @blotus in #4798
  • build(deps): bump the github-actions group with 3 updates by @dependabot[bot] in #4806
  • Serve metrics on a dedicated mux and make pprof opt-in by @p-w in #4802
  • Version released trigger by @sabban in #4787
  • api-client: only use api.client.tls config for LP->LAPI communications by @blotus in #4823
  • syslog log_media: only add log hook once by @blotus in #4819
  • ci: speed up docker build and publish dev ARM64 images by @blotus in #4792
  • packaging: detect api.server.enable: false in postinst by @sabban in #4818
  • waf: do not double count query string args by @blotus in #4834
  • update to go 1.27.3 by @blotus in #4816
  • docker: fix log stream leak on long lines by @blotus in #4826
  • WAF: add support for decompressing request bodies by @blotus in #4796
  • build(deps): bump the uv group across 1 directory with 3 updates by @dependabot[bot] in #4805
  • MatchKnownBot: add support for ASN by @blotus in #4828
  • challenge: allow custom challenge page by @blotus in #4680

New Contributors

Full Changelog: v1.8.2-rc2...v1.8.3-rc1

v1.8.2

Choose a tag to compare

@github-actions github-actions released this 26 Oct 14:16
3d369d6

Version 1.8.2

  • Brings custom JS fingerprinting capabilities to the bot detection feature, allowing both users and us to distribute detection rules directly via the hub.
  • Brings rate limiting feature to the WAF.
  • Brings performance improvements to the Security Engine, optimizing both memory copy behaviors and relying on static analysis to avoid processing unnecessary regular expressions.
  • Brings performance improvements to the WAF, optimizing out-of-band rules processing.
  • Brings performance improvements to the Bot Detection, optimizing memory usage.

New Features & Major improvements

  • [WAF] Add RateLimiting feature (#4721) @blotus
  • [bot-detection] Add custom JS fingerprinting capabilities (#4657) @buixor
  • [bot-detection] Add cscli bot subcommand (#4666) @blotus
  • [WAF] Improve out-of-band rules performances (#4722) @blotus
  • [Security Engine] Run postoverflows in a separate goroutine to avoid blocking on slow enrichments (#4672) @blotus
  • [bot-detection] Improve memory usage (#4674) @blotus
  • [Security Engine] Various performance improvements to regular expression processing (#4736) (#4731) (#4729) @blotus @buixor

Improvements

Bug Fixes

  • acquisition/file: don't send half-written lines, or skip the lines after them (#4678) @n1koo, @blotus, @claude
  • fix(cscli): display human-readable timestamps in local time (#4759) @sep2
  • remove runtime Fatalf calls (#4760) @blotus
  • waf: fix log spam when usin unix socket on freebsd (#4745) @blotus
  • docker: read from now if container restarts (#4605) @blotus
  • splunk-notification: add an option to configure InsecureSkipVerify (#4720) @blotus
  • victorialogs: move the datasource to RestartableStreamer interface (#4738) @blotus
  • metrics: remove series of deleted machines and bouncers (#4712) @somaz94
  • buckets: make a copy of all event maps before pouring the event to a bucket (#4481) @blotus
  • fix(database): keep simulated decisions from suppressing real bans (#4679) @4erdenko, @blotus
  • fix a nasty bug in transfrom where the effective uuid for a datasource (#4697) @sabban
  • hubtest: add a tiebreaker based on the alert date to have a consistent order (#4699) @blotus
  • syslog: copy buffer before handing it to the datasource (#4690) @blotus
  • Expand env vars in online_api_credentials.yaml (#4677) @kushiemoon-dev

Chore / Deps

Geolite2 notice

This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.

Installation

Take a look at the installation instructions.

v1.8.2-rc2

v1.8.2-rc2 Pre-release
Pre-release

Choose a tag to compare

@sabban sabban released this 22 Oct 08:51
725b665

Changes

New Features

Improvements

Bug Fixes

  • fix RateLimit() tests (#4771) @blotus
  • database: match the alert ip/range filter on a single decision (#4710) @AdzerKI
  • acquisition/file: don't send half-written lines, or skip the lines after them (#4678) @n1koo, @blotus, @claude
  • fix(cscli): display human-readable timestamps in local time (#4759) @sep2
  • waf: use dedicated workers for OOB processing (#4722) @blotus
  • remove runtime Fatalf calls (#4760) @blotus
  • waf: fix log spam when usin unix socket on freebsd (#4745) @blotus
  • docker: read from now if container restarts (#4605) @blotus
  • splunk-notification: add an option to configure InsecureSkipVerify (#4720) @blotus
  • victorialogs: move the datasource to RestartableStreamer interface (#4738) @blotus
  • metrics: remove series of deleted machines and bouncers (#4712) @somaz94
  • postoverflow: run them in a goroutine to not block writers, enforce max in-flight alerts, and warn if queue is becoming too full (#4672) @blotus
  • buckets: make a copy of all event maps before pouring the event to a bucket (#4481) @blotus
  • fix(database): keep simulated decisions from suppressing real bans (#4679) @4erdenko, @blotus
  • fix a nasty bug in transfrom where the effective uuid for a datasource (#4697) @sabban
  • hubtest: add a tiebreaker based on the alert date to have a consistent order (#4699) @blotus
  • challenge: optimize memory usage (#4674) @blotus
  • syslog: copy buffer before handing it to the datasource (#4690) @blotus
  • Expand env vars in online_api_credentials.yaml (#4677) @kushiemoon-dev

Chore / Deps

Geolite2 notice

This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.

Installation

Take a look at the installation instructions.

v1.8.2-rc1

v1.8.2-rc1 Pre-release
Pre-release

Choose a tag to compare

@sabban sabban released this 13 Oct 14:40
c86bf40

Changes

New Features

  • [bot-detection] Add custom JS fingerprinting capabilities (#4657) @buixor

Improvements

Bug Fixes

  • waf: fix log spam when usin unix socket on freebsd (#4745) @blotus
  • docker: read from now if container restarts (#4605) @blotus
  • splunk-notification: add an option to configure InsecureSkipVerify (#4720) @blotus
  • victorialogs: move the datasource to RestartableStreamer interface (#4738) @blotus
  • metrics: remove series of deleted machines and bouncers (#4712) @somaz94
  • postoverflow: run them in a goroutine to not block writers, enforce max in-flight alerts, and warn if queue is becoming too full (#4672) @blotus
  • buckets: make a copy of all event maps before pouring the event to a bucket (#4481) @blotus
  • fix(database): keep simulated decisions from suppressing real bans (#4679) @4erdenko, @blotus
  • fix a nasty bug in transfrom where the effective uuid for a datasource (#4697) @sabban
  • hubtest: add a tiebreaker based on the alert date to have a consistent order (#4699) @blotus
  • challenge: optimize memory usage (#4674) @blotus
  • syslog: copy buffer before handing it to the datasource (#4690) @blotus
  • Expand env vars in online_api_credentials.yaml (#4677) @kushiemoon-dev

Chore / Deps

Geolite2 notice

This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.

Installation

Take a look at the installation instructions.

v1.8.1

Choose a tag to compare

@github-actions github-actions released this 03 Sep 09:08
909b515

This release fixes a false positive in the bot detection feature for Brave Browser with shields enabled.

Changes

Improvements

Bug Fixes

  • lapi: return an empty slice instead of null when querying alerts (#4653) @blotus
  • challenge: tolerate strings instead of struct in FP payload (#4655) @blotus

Geolite2 notice

This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.

Installation

Take a look at the installation instructions.

v1.8.0

Choose a tag to compare

@github-actions github-actions released this 31 Aug 11:09
cc76dbb

Bot detection with CrowdSec WAF

This release brings a major change to the CrowdSec WAF: a bot detection feature.

If enabled, clients will be served a challenge + fingerprinting page before accessing the website.
CrowdSec will evaluate the challenge and check the fingerprint against pre-configured rules to decide whether the client looks legitimate or not.

You can find more information about this new feature in the documentation.

Other notable changes include:

  • A dedicated kubernetes datasource: crowdsec will fetch logs directly from the k8s apiserver
  • New HTTP helpers for the expression language, to query external services from parsers and scenarios
  • Performance improvements on the decisions stream endpoint in LAPI

Security Notice

This release fixes 2 denial of service vulnerabilities in the HTTP and k8s-audit datasources:

  • HTTP acquisition datasource lacks a decompressed body cap and trusts Content-Length: GHSA-g2x2-jgfg-pg7g
  • Unbounded request-body read in kubernetes-audit acquisition webhook: GHSA-rh69-4vqj-9gj8

New Features

Improvements

Bug Fixes

  • leakybuckets: make alerts own their strings (#4643) @blotus
  • alerts: create metas only if alert was not discarded (#4633) @blotus
  • k8s-audit: add support for max body size (#4630) @blotus
  • Usage metrics: set a maximum payload size (#4629) @blotus
  • lapi: use decision id as cursor for delta pull (#4620) @blotus
  • acquis(http): Set default max body size and enforce it as well for compressed streams (#4616) @blotus
  • acquisition: fix transformation being ignored (#4609) @blotus
  • fpscanner: add missing fields (#4604) @blotus
  • docs: fix broken Vagrant include link in test README (#4594) @latent-9
  • challenge: require SSE4.1 + WX memory (#4590) @blotus
  • WAF: supress erroneous warnings/errors when loading config / no rule has matched (#4587) @blotus
  • Bot Detection: keep the original URL in the generated alert (#4586) @buixor
  • fix(docker): allow spaces in ENROLL_INSTANCE_NAME (#4582) @sahilnyk
  • apiclient: return nil response if we couldnt connect to LAPI (#4573) @blotus
  • cscli lapi register: no error if the credentials file does not exist (#4570) @lopster568
  • fix(docker): avoid panic on colliding nested crowdsec labels (#4555) @arpitjain099
  • fix(syslog): don't close the shared acquisition output channel (#4553) @alxrxs
  • waf: track id/name pairs for all subrules (#4505) @blotus
  • apiserver: prevent from fetching JWT token from query string (#4554) @blotus
  • fix(leakybucket): emit overflow before pouring the next event (#4547) @blotus
  • loki: prevent duplicate log ingestion and improve timestamp handling (#4498) @Anulo2
  • db: use proper mutex when checking if flush can happen (#4528) @blotus
  • db: do not flush alerts with active decisions (#4527) @blotus
  • Fix Distinct() panic on []string and other non-[]any slices (#4543) @Synvoya
  • fix(docker): bouncer name strips wrong field from Docker secrets path (#4490) @tejgokani

Chore / Deps

Geolite2 notice

This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.

Installation

Take a look at the installation instructions.

v1.8.0-rc2

v1.8.0-rc2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 25 Aug 14:32
d66b45e

Bot detection with CrowdSec WAF

This release brings a major change to the CrowdSec WAF: a bot detection feature.

If enabled, clients will be served a challenge + fingerprinting page before accessing the website.
CrowdSec will evaluate the challenge and check the fingerprint against pre-configured rules to decide whether the client looks legitimate or not.

You can find more information about this new feature in the documentation.

Other notable changes include:

  • a dedicated kubernetes datasource: crowdsec will fetch logs directly from the k8s apiserver
  • new HTTP helpers for the expression language, to query external services from parsers and scenarios

New Features

Improvements

Bug Fixes

  • k8s-audit: add support for max body size (#4630) @blotus
  • Usage metrics: set a maximum payload size (#4629) @blotus
  • lapi: use decision id as cursor for delta pull (#4620) @blotus
  • acquis(http): Set default max body size and enforce it as well for compressed streams (#4616) @blotus
  • acquisition: fix transformation being ignored (#4609) @blotus
  • fpscanner: add missing fields (#4604) @blotus
  • docs: fix broken Vagrant include link in test README (#4594) @latent-9
  • challenge: require SSE4.1 + WX memory (#4590) @blotus
  • WAF: supress erroneous warnings/errors when loading config / no rule has matched (#4587) @blotus
  • Bot Detection: keep the original URL in the generated alert (#4586) @buixor
  • fix(docker): allow spaces in ENROLL_INSTANCE_NAME (#4582) @sahilnyk
  • apiclient: return nil response if we couldnt connect to LAPI (#4573) @blotus
  • cscli lapi register: no error if the credentials file does not exist (#4570) @lopster568
  • fix(docker): avoid panic on colliding nested crowdsec labels (#4555) @arpitjain099
  • fix(syslog): don't close the shared acquisition output channel (#4553) @alxrxs
  • waf: track id/name pairs for all subrules (#4505) @blotus
  • apiserver: prevent from fetching JWT token from query string (#4554) @blotus
  • fix(leakybucket): emit overflow before pouring the next event (#4547) @blotus
  • loki: prevent duplicate log ingestion and improve timestamp handling (#4498) @Anulo2
  • db: use proper mutex when checking if flush can happen (#4528) @blotus
  • db: do not flush alerts with active decisions (#4527) @blotus
  • Fix Distinct() panic on []string and other non-[]any slices (#4543) @Synvoya
  • fix(docker): bouncer name strips wrong field from Docker secrets path (#4490) @tejgokani

Chore / Deps

Geolite2 notice

This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.

Installation

Take a look at the installation instructions.

v1.8.0-rc1

v1.8.0-rc1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 27 Jul 16:29
079a572

Bot detection with CrowdSec WAF

This release brings a major change to the CrowdSec WAF: a bot detection feature.

If enabled, clients will be served a challenge + fingerprinting page before accessing the website.
CrowdSec will evaluate the challenge and check the fingerprint against pre-configured rules to decide whether the client looks legitimate or not.

You can find more information about this new feature in the documentation.

Other notable changes include:

  • a dedicated kubernetes datasource: crowdsec will fetch logs directly from the k8s apiserver
  • new HTTP helpers for the expression language, to query external services from parsers and scenarios

New Features

Improvements

Bug Fixes

  • fix(docker): allow spaces in ENROLL_INSTANCE_NAME (#4582) @sahilnyk
  • apiclient: return nil response if we couldnt connect to LAPI (#4573) @blotus
  • cscli lapi register: no error if the credentials file does not exist (#4570) @lopster568
  • fix(docker): avoid panic on colliding nested crowdsec labels (#4555) @arpitjain099
  • fix(syslog): don't close the shared acquisition output channel (#4553) @alxrxs
  • waf: track id/name pairs for all subrules (#4505) @blotus
  • apiserver: prevent from fetching JWT token from query string (#4554) @blotus
  • fix(leakybucket): emit overflow before pouring the next event (#4547) @blotus
  • loki: prevent duplicate log ingestion and improve timestamp handling (#4498) @Anulo2
  • db: use proper mutex when checking if flush can happen (#4528) @blotus
  • db: do not flush alerts with active decisions (#4527) @blotus
  • Fix Distinct() panic on []string and other non-[]any slices (#4543) @Synvoya
  • fix(docker): bouncer name strips wrong field from Docker secrets path (#4490) @tejgokani

Chore / Deps

Geolite2 notice

This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.

Installation

Take a look at the installation instructions.

v1.7.8

Choose a tag to compare

@github-actions github-actions released this 11 May 07:53

New Features

Improvements

  • WAF: enforce body size limitation (#4355) @blotus
  • Decision stream: move to chunked transfer by default (#4413) @blotus
  • cscli: add --quick flag to enroll command (#4350) @blotus
  • propose an alternative, cleaner configuration for appsec-config (#4397) @buixor

Bug Fixes

  • cscli metrics: don't attempt to create a DB client if there's no DB config (#4451) @blotus
  • papi: don't spam logs if chan is closed (#4439) @blotus
  • alerts: use single transaction when creating alert and all related items (#4438) @blotus
  • LAPI: enforce maximum body size for decompression

Chore / Deps

Geolite2 notice

This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.

Installation

Take a look at the installation instructions.