Skip to content

Commit

Permalink
mysqld_exporter: update to 0.15.1 (security)
Browse files Browse the repository at this point in the history
This fixes the following vulnerabilities:

Vulnerability #1: GO-2023-1571
    Denial of service via crafted HTTP/2 stream in net/http and golang.org/x/net
  More info: https://pkg.go.dev/vuln/GO-2023-1571
  Module: golang.org/x/net
    Found in: golang.org/x/net@v0.0.0-20210525063256-abc453219eb5
    Fixed in: golang.org/x/net@v0.7.0

Vulnerability #2: GO-2022-1130
    Authentication bypass in github.com/prometheus/exporter-toolkit
  More info: https://pkg.go.dev/vuln/GO-2022-1130
  Module: github.com/prometheus/exporter-toolkit
    Found in: github.com/prometheus/exporter-toolkit@v0.7.1
    Fixed in: github.com/prometheus/exporter-toolkit@v0.8.2

0.15.1
------
Rebuild for dependency updates

0.15.0
------
BREAKING CHANGES:

The exporter no longer supports the monolithic DATA_SOURCE_NAME environment
variable.  To configure connections to MySQL you can either use a my.cnf style
config file or command line arguments.

For example:

export MYSQLD_EXPORTER_PASSWORD=secret
mysqld_exporter --mysqld.address=localhost:3306 --mysqld.username=exporter

We have also dropped some internal scrape metrics:

    mysql_exporter_scrapes_total
    mysql_exporter_scrape_errors_total
    mysql_last_scrape_failed

The default client configuration file is now .my.cnf in the process working
directory. Use --config.my-cnf="$HOME/.my.cnf" to retain the previous default.
  • Loading branch information
bsiegert committed Dec 22, 2023
1 parent c7a6fc9 commit 867da2d
Show file tree
Hide file tree
Showing 3 changed files with 247 additions and 2,168 deletions.
5 changes: 2 additions & 3 deletions databases/mysqld_exporter/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.36 2023/12/05 19:46:03 bsiegert Exp $
# $NetBSD: Makefile,v 1.37 2023/12/22 17:36:04 bsiegert Exp $

DISTNAME= mysqld_exporter-0.14.0
DISTNAME= mysqld_exporter-0.15.1
MASTER_SITES= ${MASTER_SITE_GITHUB:=prometheus/}
PKGREVISION= 10
CATEGORIES= databases
GITHUB_TAG= v${PKGVERSION_NOREV}

Expand Down
Loading

0 comments on commit 867da2d

Please sign in to comment.