Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Wie mit NPM Audit ergebnis umgehen?

NEWS

  • Neues YouTube-Video: Visualisierung im Devices-Adapter
    BluefoxB
    Bluefox
    11
    1
    327

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    1.9k

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    11
    1
    791

Wie mit NPM Audit ergebnis umgehen?

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
npm audit
19 Beiträge 5 Kommentatoren 404 Aufrufe 5 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • wendy2702W Offline
    wendy2702W Offline
    wendy2702
    schrieb am zuletzt editiert von
    #1

    Hi,

    @apollon77 , @AlCalzone, @thomas-braun und alle anderen:

    Wie geht ihr mit "npm audit" ergebnissen um?

    Mal auf einem Slave gemacht und das sieht dann so aus: (gekürzt)

    pi@iobroker-garage-gross:/opt/iobroker $ npm audit
    
                          === npm audit security report ===
    
    # Run  npm update path-parse --depth 7  to resolve 2 vulnerabilities
    ┌───────────────┬──────────────────────────────────────────────────────────────┐
    │ Moderate      │ Regular Expression Denial of Service in path-parse           │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Package       │ path-parse                                                   │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Dependency of │ yargs                                                        │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Path          │ yargs > read-pkg-up > read-pkg > normalize-package-data >    │
    │               │ resolve > path-parse                                         │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ More info     │ https://github.com/advisories/GHSA-hj48-42vr-x3v9            │
    └───────────────┴──────────────────────────────────────────────────────────────┘
    
    
    ┌───────────────┬──────────────────────────────────────────────────────────────┐
    │ Moderate      │ Regular Expression Denial of Service in path-parse           │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Package       │ path-parse                                                   │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Dependency of │ iobroker                                                     │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Path          │ iobroker > yargs > read-pkg-up > read-pkg >                  │
    │               │ normalize-package-data > resolve > path-parse                │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ More info     │ https://github.com/advisories/GHSA-hj48-42vr-x3v9            │
    └───────────────┴──────────────────────────────────────────────────────────────┘
    
    
    # Run  npm update hosted-git-info --depth 6  to resolve 2 vulnerabilities
    ┌───────────────┬──────────────────────────────────────────────────────────────┐
    │ Moderate      │ Regular Expression Denial of Service in hosted-git-info      │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Package       │ hosted-git-info                                              │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Dependency of │ yargs                                                        │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Path          │ yargs > read-pkg-up > read-pkg > normalize-package-data >    │
    │               │ hosted-git-info                                              │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ More info     │ https://github.com/advisories/GHSA-43f8-2h32-f4cj            │
    └───────────────┴──────────────────────────────────────────────────────────────┘
    
    
    ┌───────────────┬──────────────────────────────────────────────────────────────┐
    │ Moderate      │ Regular Expression Denial of Service in hosted-git-info      │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Package       │ hosted-git-info                                              │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Dependency of │ iobroker                                                     │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Path          │ iobroker > yargs > read-pkg-up > read-pkg >                  │
    │               │ normalize-package-data > hosted-git-info                     │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ More info     │ https://github.com/advisories/GHSA-43f8-2h32-f4cj            │
    └───────────────┴──────────────────────────────────────────────────────────────┘
    
    
    # Run  npm update y18n --depth 3  to resolve 2 vulnerabilities
    ┌───────────────┬──────────────────────────────────────────────────────────────┐
    │ High          │ Prototype Pollution                                          │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Package       │ y18n                                                         │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Dependency of │ yargs                                                        │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Path          │ yargs > y18n                                                 │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ More info     │ https://github.com/advisories/GHSA-c4w7-xm78-47vh            │
    └───────────────┴──────────────────────────────────────────────────────────────┘
    
    
    ┌───────────────┬──────────────────────────────────────────────────────────────┐
    │ High          │ Prototype Pollution                                          │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Package       │ y18n                                                         │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Dependency of │ iobroker                                                     │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Path          │ iobroker > yargs > y18n                                      │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ More info     │ https://github.com/advisories/GHSA-c4w7-xm78-47vh            │
    └───────────────┴──────────────────────────────────────────────────────────────┘
    
    
    # Run  npm update jsprim --depth 11  to resolve 8 vulnerabilities
    ┌───────────────┬──────────────────────────────────────────────────────────────┐
    │ Moderate      │ json-schema is vulnerable to Prototype Pollution             │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Package       │ json-schema                                                  │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Dependency of │ iobroker.admin                                               │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Path          │ iobroker.admin > request > http-signature > jsprim >         │
    │               │ json-schema                                                  │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ More info     │ https://github.com/advisories/GHSA-896r-f27r-55mw            │
    └───────────────┴──────────────────────────────────────────────────────────────┘
    
    
    ┌───────────────┬──────────────────────────────────────────────────────────────┐
    │ Moderate      │ json-schema is vulnerable to Prototype Pollution             │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Package       │ json-schema                                                  │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Dependency of │ iobroker.js-controller                                       │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Path          │ iobroker.js-controller > @iobroker/js-controller-common >    │
    │               │ request > http-signature > jsprim > json-schema              │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ More info     │ https://github.com/advisories/GHSA-896r-f27r-55mw            │
    └───────────────┴──────────────────────────────────────────────────────────────┘
    
    
    ┌───────────────┬──────────────────────────────────────────────────────────────┐
    │ Moderate      │ json-schema is vulnerable to Prototype Pollution             │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Package       │ json-schema                                                  │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Dependency of │ iobroker.js-controller                                       │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Path          │ iobroker.js-controller > @iobroker/js-controller-adapter >   │
    │               │ @iobroker/js-controller-common > request > http-signature >  │
    │               │ jsprim > json-schema                                         │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ More info     │ https://github.com/advisories/GHSA-896r-f27r-55mw            │
    └───────────────┴──────────────────────────────────────────────────────────────┘
    
    
    ┌───────────────┬──────────────────────────────────────────────────────────────┐
    │ Moderate      │ json-schema is vulnerable to Prototype Pollution             │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Package       │ json-schema                                                  │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Dependency of │ iobroker.js-controller                                       │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Path          │ iobroker.js-controller > @iobroker/db-objects-file >         │
    │               │ @iobroker/db-base > @iobroker/js-controller-common > request │
    │               │ > http-signature > jsprim > json-schema                      │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ More info     │ https://github.com/advisories/GHSA-896r-f27r-55mw            │
    └───────────────┴──────────────────────────────────────────────────────────────┘
    
    
    ┌───────────────┬──────────────────────────────────────────────────────────────┐
    │ Moderate      │ json-schema is vulnerable to Prototype Pollution             │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Package       │ json-schema                                                  │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Dependency of │ iobroker.js-controller                                       │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Path          │ iobroker.js-controller > @iobroker/db-objects-jsonl >        │
    │               │ @iobroker/db-objects-file > @iobroker/db-base >              │
    │               │ @iobroker/js-controller-common > request > http-signature >  │
    │               │ jsprim > json-schema                                         │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ More info     │ https://github.com/advisories/GHSA-896r-f27r-55mw            │
    └───────────────┴──────────────────────────────────────────────────────────────┘
    
    
    ┌───────────────┬──────────────────────────────────────────────────────────────┐
    │ Moderate      │ json-schema is vulnerable to Prototype Pollution             │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Package       │ json-schema                                                  │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Dependency of │ iobroker.js-controller                                       │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Path          │ iobroker.js-controller > @iobroker/js-controller-adapter >   │
    │               │ @iobroker/db-objects-jsonl > @iobroker/db-objects-file >     │
    │               │ @iobroker/db-base > @iobroker/js-controller-common > request │
    │               │ > http-signature > jsprim > json-schema                      │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ More info     │ https://github.com/advisories/GHSA-896r-f27r-55mw            │
    └───────────────┴──────────────────────────────────────────────────────────────┘
    
    
    ┌───────────────┬──────────────────────────────────────────────────────────────┐
    │ Moderate      │ json-schema is vulnerable to Prototype Pollution             │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Package       │ json-schema                                                  │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Dependency of │ iobroker.js-controller                                       │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Path          │ iobroker.js-controller > @iobroker/js-controller-cli >       │
    │               │ @iobroker/js-controller-common-db >                          │
    │               │ @iobroker/db-objects-jsonl > @iobroker/db-objects-file >     │
    │               │ @iobroker/db-base > @iobroker/js-controller-common > request │
    │               │ > http-signature > jsprim > json-schema                      │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ More info     │ https://github.com/advisories/GHSA-896r-f27r-55mw            │
    └───────────────┴──────────────────────────────────────────────────────────────┘
    
    
    ┌───────────────┬──────────────────────────────────────────────────────────────┐
    │ Moderate      │ json-schema is vulnerable to Prototype Pollution             │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Package       │ json-schema                                                  │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Dependency of │ iobroker.js-controller                                       │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Path          │ iobroker.js-controller > @iobroker/js-controller-cli >       │
    │               │ @iobroker/js-controller-common-db >                          │
    │               │ @iobroker/db-objects-jsonl > @iobroker/db-objects-file >     │
    │               │ @iobroker/db-objects-redis > @iobroker/db-base >             │
    │               │ @iobroker/js-controller-common > request > http-signature >  │
    │               │ jsprim > json-schema                                         │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ More info     │ https://github.com/advisories/GHSA-896r-f27r-55mw            │
    └───────────────┴──────────────────────────────────────────────────────────────┘
    
    
    # Run  npm update simple-get --depth 5  to resolve 1 vulnerability
    ┌───────────────┬──────────────────────────────────────────────────────────────┐
    │ High          │ Exposure of Sensitive Information in simple-get              │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Package       │ simple-get                                                   │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Dependency of │ iobroker.javascript                                          │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Path          │ iobroker.javascript > serialport > @serialport/bindings >    │
    │               │ prebuild-install > simple-get                                │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ More info     │ https://github.com/advisories/GHSA-wpg7-2c88-r8xv            │
    └───────────────┴──────────────────────────────────────────────────────────────┘
    
    
    ┌──────────────────────────────────────────────────────────────────────────────┐
    │                                Manual Review                                 │
    │            Some vulnerabilities require your attention to resolve            │
    │                                                                              │
    │         Visit https://go.npm.me/audit-guide for additional guidance          │
    └──────────────────────────────────────────────────────────────────────────────┘
    ┌───────────────┬──────────────────────────────────────────────────────────────┐
    │ Low           │ Sensitive Data Exposure in put                               │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Package       │ put                                                          │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Patched in    │ No patch available                                           │
    ├───────────────┼──────────────────────────────────────────────────────────────┤
    │ Dependency of │ iobroker.modbus                                              │
    ├───────────────┼────────────────────────────────────────────────
    
    found 43 vulnerabilities (7 low, 20 moderate, 13 high, 3 critical) in 579 scanned packages
     run `npm audit fix` to fix 15 of them.
     28 vulnerabilities require manual review. See the full report for details.
    pi@iobroker-garage-gross:/opt/iobroker $
    
    

    Bitte keine Fragen per PN, die gehören ins Forum!

    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

    AlCalzoneA OliverIOO 2 Antworten Letzte Antwort
    0
    • wendy2702W wendy2702

      Hi,

      @apollon77 , @AlCalzone, @thomas-braun und alle anderen:

      Wie geht ihr mit "npm audit" ergebnissen um?

      Mal auf einem Slave gemacht und das sieht dann so aus: (gekürzt)

      pi@iobroker-garage-gross:/opt/iobroker $ npm audit
      
                            === npm audit security report ===
      
      # Run  npm update path-parse --depth 7  to resolve 2 vulnerabilities
      ┌───────────────┬──────────────────────────────────────────────────────────────┐
      │ Moderate      │ Regular Expression Denial of Service in path-parse           │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Package       │ path-parse                                                   │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Dependency of │ yargs                                                        │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Path          │ yargs > read-pkg-up > read-pkg > normalize-package-data >    │
      │               │ resolve > path-parse                                         │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ More info     │ https://github.com/advisories/GHSA-hj48-42vr-x3v9            │
      └───────────────┴──────────────────────────────────────────────────────────────┘
      
      
      ┌───────────────┬──────────────────────────────────────────────────────────────┐
      │ Moderate      │ Regular Expression Denial of Service in path-parse           │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Package       │ path-parse                                                   │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Dependency of │ iobroker                                                     │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Path          │ iobroker > yargs > read-pkg-up > read-pkg >                  │
      │               │ normalize-package-data > resolve > path-parse                │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ More info     │ https://github.com/advisories/GHSA-hj48-42vr-x3v9            │
      └───────────────┴──────────────────────────────────────────────────────────────┘
      
      
      # Run  npm update hosted-git-info --depth 6  to resolve 2 vulnerabilities
      ┌───────────────┬──────────────────────────────────────────────────────────────┐
      │ Moderate      │ Regular Expression Denial of Service in hosted-git-info      │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Package       │ hosted-git-info                                              │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Dependency of │ yargs                                                        │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Path          │ yargs > read-pkg-up > read-pkg > normalize-package-data >    │
      │               │ hosted-git-info                                              │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ More info     │ https://github.com/advisories/GHSA-43f8-2h32-f4cj            │
      └───────────────┴──────────────────────────────────────────────────────────────┘
      
      
      ┌───────────────┬──────────────────────────────────────────────────────────────┐
      │ Moderate      │ Regular Expression Denial of Service in hosted-git-info      │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Package       │ hosted-git-info                                              │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Dependency of │ iobroker                                                     │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Path          │ iobroker > yargs > read-pkg-up > read-pkg >                  │
      │               │ normalize-package-data > hosted-git-info                     │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ More info     │ https://github.com/advisories/GHSA-43f8-2h32-f4cj            │
      └───────────────┴──────────────────────────────────────────────────────────────┘
      
      
      # Run  npm update y18n --depth 3  to resolve 2 vulnerabilities
      ┌───────────────┬──────────────────────────────────────────────────────────────┐
      │ High          │ Prototype Pollution                                          │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Package       │ y18n                                                         │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Dependency of │ yargs                                                        │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Path          │ yargs > y18n                                                 │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ More info     │ https://github.com/advisories/GHSA-c4w7-xm78-47vh            │
      └───────────────┴──────────────────────────────────────────────────────────────┘
      
      
      ┌───────────────┬──────────────────────────────────────────────────────────────┐
      │ High          │ Prototype Pollution                                          │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Package       │ y18n                                                         │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Dependency of │ iobroker                                                     │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Path          │ iobroker > yargs > y18n                                      │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ More info     │ https://github.com/advisories/GHSA-c4w7-xm78-47vh            │
      └───────────────┴──────────────────────────────────────────────────────────────┘
      
      
      # Run  npm update jsprim --depth 11  to resolve 8 vulnerabilities
      ┌───────────────┬──────────────────────────────────────────────────────────────┐
      │ Moderate      │ json-schema is vulnerable to Prototype Pollution             │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Package       │ json-schema                                                  │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Dependency of │ iobroker.admin                                               │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Path          │ iobroker.admin > request > http-signature > jsprim >         │
      │               │ json-schema                                                  │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ More info     │ https://github.com/advisories/GHSA-896r-f27r-55mw            │
      └───────────────┴──────────────────────────────────────────────────────────────┘
      
      
      ┌───────────────┬──────────────────────────────────────────────────────────────┐
      │ Moderate      │ json-schema is vulnerable to Prototype Pollution             │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Package       │ json-schema                                                  │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Dependency of │ iobroker.js-controller                                       │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Path          │ iobroker.js-controller > @iobroker/js-controller-common >    │
      │               │ request > http-signature > jsprim > json-schema              │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ More info     │ https://github.com/advisories/GHSA-896r-f27r-55mw            │
      └───────────────┴──────────────────────────────────────────────────────────────┘
      
      
      ┌───────────────┬──────────────────────────────────────────────────────────────┐
      │ Moderate      │ json-schema is vulnerable to Prototype Pollution             │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Package       │ json-schema                                                  │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Dependency of │ iobroker.js-controller                                       │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Path          │ iobroker.js-controller > @iobroker/js-controller-adapter >   │
      │               │ @iobroker/js-controller-common > request > http-signature >  │
      │               │ jsprim > json-schema                                         │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ More info     │ https://github.com/advisories/GHSA-896r-f27r-55mw            │
      └───────────────┴──────────────────────────────────────────────────────────────┘
      
      
      ┌───────────────┬──────────────────────────────────────────────────────────────┐
      │ Moderate      │ json-schema is vulnerable to Prototype Pollution             │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Package       │ json-schema                                                  │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Dependency of │ iobroker.js-controller                                       │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Path          │ iobroker.js-controller > @iobroker/db-objects-file >         │
      │               │ @iobroker/db-base > @iobroker/js-controller-common > request │
      │               │ > http-signature > jsprim > json-schema                      │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ More info     │ https://github.com/advisories/GHSA-896r-f27r-55mw            │
      └───────────────┴──────────────────────────────────────────────────────────────┘
      
      
      ┌───────────────┬──────────────────────────────────────────────────────────────┐
      │ Moderate      │ json-schema is vulnerable to Prototype Pollution             │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Package       │ json-schema                                                  │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Dependency of │ iobroker.js-controller                                       │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Path          │ iobroker.js-controller > @iobroker/db-objects-jsonl >        │
      │               │ @iobroker/db-objects-file > @iobroker/db-base >              │
      │               │ @iobroker/js-controller-common > request > http-signature >  │
      │               │ jsprim > json-schema                                         │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ More info     │ https://github.com/advisories/GHSA-896r-f27r-55mw            │
      └───────────────┴──────────────────────────────────────────────────────────────┘
      
      
      ┌───────────────┬──────────────────────────────────────────────────────────────┐
      │ Moderate      │ json-schema is vulnerable to Prototype Pollution             │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Package       │ json-schema                                                  │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Dependency of │ iobroker.js-controller                                       │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Path          │ iobroker.js-controller > @iobroker/js-controller-adapter >   │
      │               │ @iobroker/db-objects-jsonl > @iobroker/db-objects-file >     │
      │               │ @iobroker/db-base > @iobroker/js-controller-common > request │
      │               │ > http-signature > jsprim > json-schema                      │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ More info     │ https://github.com/advisories/GHSA-896r-f27r-55mw            │
      └───────────────┴──────────────────────────────────────────────────────────────┘
      
      
      ┌───────────────┬──────────────────────────────────────────────────────────────┐
      │ Moderate      │ json-schema is vulnerable to Prototype Pollution             │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Package       │ json-schema                                                  │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Dependency of │ iobroker.js-controller                                       │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Path          │ iobroker.js-controller > @iobroker/js-controller-cli >       │
      │               │ @iobroker/js-controller-common-db >                          │
      │               │ @iobroker/db-objects-jsonl > @iobroker/db-objects-file >     │
      │               │ @iobroker/db-base > @iobroker/js-controller-common > request │
      │               │ > http-signature > jsprim > json-schema                      │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ More info     │ https://github.com/advisories/GHSA-896r-f27r-55mw            │
      └───────────────┴──────────────────────────────────────────────────────────────┘
      
      
      ┌───────────────┬──────────────────────────────────────────────────────────────┐
      │ Moderate      │ json-schema is vulnerable to Prototype Pollution             │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Package       │ json-schema                                                  │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Dependency of │ iobroker.js-controller                                       │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Path          │ iobroker.js-controller > @iobroker/js-controller-cli >       │
      │               │ @iobroker/js-controller-common-db >                          │
      │               │ @iobroker/db-objects-jsonl > @iobroker/db-objects-file >     │
      │               │ @iobroker/db-objects-redis > @iobroker/db-base >             │
      │               │ @iobroker/js-controller-common > request > http-signature >  │
      │               │ jsprim > json-schema                                         │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ More info     │ https://github.com/advisories/GHSA-896r-f27r-55mw            │
      └───────────────┴──────────────────────────────────────────────────────────────┘
      
      
      # Run  npm update simple-get --depth 5  to resolve 1 vulnerability
      ┌───────────────┬──────────────────────────────────────────────────────────────┐
      │ High          │ Exposure of Sensitive Information in simple-get              │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Package       │ simple-get                                                   │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Dependency of │ iobroker.javascript                                          │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Path          │ iobroker.javascript > serialport > @serialport/bindings >    │
      │               │ prebuild-install > simple-get                                │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ More info     │ https://github.com/advisories/GHSA-wpg7-2c88-r8xv            │
      └───────────────┴──────────────────────────────────────────────────────────────┘
      
      
      ┌──────────────────────────────────────────────────────────────────────────────┐
      │                                Manual Review                                 │
      │            Some vulnerabilities require your attention to resolve            │
      │                                                                              │
      │         Visit https://go.npm.me/audit-guide for additional guidance          │
      └──────────────────────────────────────────────────────────────────────────────┘
      ┌───────────────┬──────────────────────────────────────────────────────────────┐
      │ Low           │ Sensitive Data Exposure in put                               │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Package       │ put                                                          │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Patched in    │ No patch available                                           │
      ├───────────────┼──────────────────────────────────────────────────────────────┤
      │ Dependency of │ iobroker.modbus                                              │
      ├───────────────┼────────────────────────────────────────────────
      
      found 43 vulnerabilities (7 low, 20 moderate, 13 high, 3 critical) in 579 scanned packages
       run `npm audit fix` to fix 15 of them.
       28 vulnerabilities require manual review. See the full report for details.
      pi@iobroker-garage-gross:/opt/iobroker $
      
      

      AlCalzoneA Offline
      AlCalzoneA Offline
      AlCalzone
      Developer
      schrieb am zuletzt editiert von AlCalzone
      #2

      @wendy2702 Ignorieren.

      Eigentlich sollte der Installer/Fixer die Meldungen auch unterdrücken.

      Das sind Dinge, die devs bei der Entwicklung teilweise berücksichtigen können, durch Aktualisieren von Abhängigkeiten. Das passiert auch regelmäßig automatisiert. Sobald Abhängigkeiten von Abhängigkeiten betroffen sind, wirds aber schon schwer, überhaupt was zu machen.

      Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

      wendy2702W 1 Antwort Letzte Antwort
      0
      • AlCalzoneA AlCalzone

        @wendy2702 Ignorieren.

        Eigentlich sollte der Installer/Fixer die Meldungen auch unterdrücken.

        Das sind Dinge, die devs bei der Entwicklung teilweise berücksichtigen können, durch Aktualisieren von Abhängigkeiten. Das passiert auch regelmäßig automatisiert. Sobald Abhängigkeiten von Abhängigkeiten betroffen sind, wirds aber schon schwer, überhaupt was zu machen.

        wendy2702W Offline
        wendy2702W Offline
        wendy2702
        schrieb am zuletzt editiert von
        #3

        @alcalzone Also könnte man theoretisch die teilweise vorgeschlagenen Befehle doch sicher ausführen ohn Gefahr zu laufen das IOB danach nicht mehr läuft, oder?

        Sind ja meistens Sicherheits Updates.

        Bitte keine Fragen per PN, die gehören ins Forum!

        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

        Thomas BraunT AlCalzoneA 2 Antworten Letzte Antwort
        0
        • wendy2702W wendy2702

          @alcalzone Also könnte man theoretisch die teilweise vorgeschlagenen Befehle doch sicher ausführen ohn Gefahr zu laufen das IOB danach nicht mehr läuft, oder?

          Sind ja meistens Sicherheits Updates.

          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von Thomas Braun
          #4

          @wendy2702 Ich habe damit sehr gemischte Ergebnisse gehabt.
          audit fix geht oft noch relativ schmerzlos über die Bühne, aber auch nicht immer.
          Vom forcen ganz die Finger lassen, das sorgt eigentlich immer für ganz böses Kopfweh.

          Ich würde es einfach ignorieren und darauf hoffen, dass die Devs die Dependencies nach Möglichkeit in ihren Modulen entsprechend mitziehen.

          Welcome to dependency hell!

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          1 Antwort Letzte Antwort
          0
          • wendy2702W Offline
            wendy2702W Offline
            wendy2702
            schrieb am zuletzt editiert von
            #5

            OK.

            Danke für euren Input.

            Die werden nur gefühlt immer mehr deshalb wollte ich mal nachfragen.

            Habe bisher immer mit dem audit fix leben können aber jetzt bekommt er nur noch 15 davon gelöst.

            Bitte keine Fragen per PN, die gehören ins Forum!

            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • wendy2702W wendy2702

              OK.

              Danke für euren Input.

              Die werden nur gefühlt immer mehr deshalb wollte ich mal nachfragen.

              Habe bisher immer mit dem audit fix leben können aber jetzt bekommt er nur noch 15 davon gelöst.

              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von
              #6

              @wendy2702

              Mit regulären Adapter-Updates werden das auch wieder weniger.

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              1 Antwort Letzte Antwort
              0
              • wendy2702W Offline
                wendy2702W Offline
                wendy2702
                schrieb am zuletzt editiert von
                #7

                Dann warte ich mal bis/ob sich da noch etwas tut sonst mache ich bei Gelegenheit mal issues bei den entsprechenden Adaptern auf.

                Bitte keine Fragen per PN, die gehören ins Forum!

                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                Thomas BraunT 1 Antwort Letzte Antwort
                0
                • wendy2702W wendy2702

                  Dann warte ich mal bis/ob sich da noch etwas tut sonst mache ich bei Gelegenheit mal issues bei den entsprechenden Adaptern auf.

                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von
                  #8

                  @wendy2702 Ja, das mit den Issues ist eine gute Idee.

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  1 Antwort Letzte Antwort
                  0
                  • apollon77A Offline
                    apollon77A Offline
                    apollon77
                    schrieb am zuletzt editiert von
                    #9

                    Also mit einem aktuellen "iob fix ausgeführtem System" sollte nie ein npm audit als Ausgabe kommen :) Wir haben an sich im Installer/Fixer drin das npm keine "audit" Meldungen mehr bringen soll :-)

                    Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                    • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                    • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • apollon77A apollon77

                      Also mit einem aktuellen "iob fix ausgeführtem System" sollte nie ein npm audit als Ausgabe kommen :) Wir haben an sich im Installer/Fixer drin das npm keine "audit" Meldungen mehr bringen soll :-)

                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von
                      #10

                      @apollon77

                      Ich bin so frech und gebe das selber ein. :-P

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      apollon77A 1 Antwort Letzte Antwort
                      0
                      • wendy2702W wendy2702

                        @alcalzone Also könnte man theoretisch die teilweise vorgeschlagenen Befehle doch sicher ausführen ohn Gefahr zu laufen das IOB danach nicht mehr läuft, oder?

                        Sind ja meistens Sicherheits Updates.

                        AlCalzoneA Offline
                        AlCalzoneA Offline
                        AlCalzone
                        Developer
                        schrieb am zuletzt editiert von
                        #11

                        @wendy2702 sagte in Wie mit NPM Audit ergebnis umgehen?:

                        die teilweise vorgeschlagenen Befehle doch sicher ausführen und dabei Gefahr zu laufen das IOB danach nicht mehr läuft

                        fixed that for you :)

                        Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                        1 Antwort Letzte Antwort
                        0
                        • Thomas BraunT Thomas Braun

                          @apollon77

                          Ich bin so frech und gebe das selber ein. :-P

                          apollon77A Offline
                          apollon77A Offline
                          apollon77
                          schrieb am zuletzt editiert von
                          #12

                          @thomas-braun Na dann happy risk :-))

                          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                          Thomas BraunT 1 Antwort Letzte Antwort
                          1
                          • apollon77A apollon77

                            @thomas-braun Na dann happy risk :-))

                            Thomas BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            schrieb am zuletzt editiert von Thomas Braun
                            #13

                            @apollon77

                            Ja, no risk, no fun!
                            Ich schau zwar schon mal öfters per audit rein, aber fixen tu ich das eigentlich nie. Lass ich wie oben gesagt auch die Finger von.

                            Linux-Werkzeugkasten:
                            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                            NodeJS Fixer Skript:
                            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                            apollon77A 1 Antwort Letzte Antwort
                            0
                            • Thomas BraunT Thomas Braun

                              @apollon77

                              Ja, no risk, no fun!
                              Ich schau zwar schon mal öfters per audit rein, aber fixen tu ich das eigentlich nie. Lass ich wie oben gesagt auch die Finger von.

                              apollon77A Offline
                              apollon77A Offline
                              apollon77
                              schrieb am zuletzt editiert von
                              #14

                              @thomas-braun aahhh ... dann hatte ich es falsch verstanden :-)

                              Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                              • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                              • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                              1 Antwort Letzte Antwort
                              0
                              • wendy2702W wendy2702

                                Hi,

                                @apollon77 , @AlCalzone, @thomas-braun und alle anderen:

                                Wie geht ihr mit "npm audit" ergebnissen um?

                                Mal auf einem Slave gemacht und das sieht dann so aus: (gekürzt)

                                pi@iobroker-garage-gross:/opt/iobroker $ npm audit
                                
                                                      === npm audit security report ===
                                
                                # Run  npm update path-parse --depth 7  to resolve 2 vulnerabilities
                                ┌───────────────┬──────────────────────────────────────────────────────────────┐
                                │ Moderate      │ Regular Expression Denial of Service in path-parse           │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Package       │ path-parse                                                   │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Dependency of │ yargs                                                        │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Path          │ yargs > read-pkg-up > read-pkg > normalize-package-data >    │
                                │               │ resolve > path-parse                                         │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ More info     │ https://github.com/advisories/GHSA-hj48-42vr-x3v9            │
                                └───────────────┴──────────────────────────────────────────────────────────────┘
                                
                                
                                ┌───────────────┬──────────────────────────────────────────────────────────────┐
                                │ Moderate      │ Regular Expression Denial of Service in path-parse           │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Package       │ path-parse                                                   │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Dependency of │ iobroker                                                     │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Path          │ iobroker > yargs > read-pkg-up > read-pkg >                  │
                                │               │ normalize-package-data > resolve > path-parse                │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ More info     │ https://github.com/advisories/GHSA-hj48-42vr-x3v9            │
                                └───────────────┴──────────────────────────────────────────────────────────────┘
                                
                                
                                # Run  npm update hosted-git-info --depth 6  to resolve 2 vulnerabilities
                                ┌───────────────┬──────────────────────────────────────────────────────────────┐
                                │ Moderate      │ Regular Expression Denial of Service in hosted-git-info      │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Package       │ hosted-git-info                                              │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Dependency of │ yargs                                                        │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Path          │ yargs > read-pkg-up > read-pkg > normalize-package-data >    │
                                │               │ hosted-git-info                                              │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ More info     │ https://github.com/advisories/GHSA-43f8-2h32-f4cj            │
                                └───────────────┴──────────────────────────────────────────────────────────────┘
                                
                                
                                ┌───────────────┬──────────────────────────────────────────────────────────────┐
                                │ Moderate      │ Regular Expression Denial of Service in hosted-git-info      │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Package       │ hosted-git-info                                              │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Dependency of │ iobroker                                                     │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Path          │ iobroker > yargs > read-pkg-up > read-pkg >                  │
                                │               │ normalize-package-data > hosted-git-info                     │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ More info     │ https://github.com/advisories/GHSA-43f8-2h32-f4cj            │
                                └───────────────┴──────────────────────────────────────────────────────────────┘
                                
                                
                                # Run  npm update y18n --depth 3  to resolve 2 vulnerabilities
                                ┌───────────────┬──────────────────────────────────────────────────────────────┐
                                │ High          │ Prototype Pollution                                          │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Package       │ y18n                                                         │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Dependency of │ yargs                                                        │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Path          │ yargs > y18n                                                 │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ More info     │ https://github.com/advisories/GHSA-c4w7-xm78-47vh            │
                                └───────────────┴──────────────────────────────────────────────────────────────┘
                                
                                
                                ┌───────────────┬──────────────────────────────────────────────────────────────┐
                                │ High          │ Prototype Pollution                                          │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Package       │ y18n                                                         │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Dependency of │ iobroker                                                     │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Path          │ iobroker > yargs > y18n                                      │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ More info     │ https://github.com/advisories/GHSA-c4w7-xm78-47vh            │
                                └───────────────┴──────────────────────────────────────────────────────────────┘
                                
                                
                                # Run  npm update jsprim --depth 11  to resolve 8 vulnerabilities
                                ┌───────────────┬──────────────────────────────────────────────────────────────┐
                                │ Moderate      │ json-schema is vulnerable to Prototype Pollution             │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Package       │ json-schema                                                  │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Dependency of │ iobroker.admin                                               │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Path          │ iobroker.admin > request > http-signature > jsprim >         │
                                │               │ json-schema                                                  │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ More info     │ https://github.com/advisories/GHSA-896r-f27r-55mw            │
                                └───────────────┴──────────────────────────────────────────────────────────────┘
                                
                                
                                ┌───────────────┬──────────────────────────────────────────────────────────────┐
                                │ Moderate      │ json-schema is vulnerable to Prototype Pollution             │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Package       │ json-schema                                                  │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Dependency of │ iobroker.js-controller                                       │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Path          │ iobroker.js-controller > @iobroker/js-controller-common >    │
                                │               │ request > http-signature > jsprim > json-schema              │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ More info     │ https://github.com/advisories/GHSA-896r-f27r-55mw            │
                                └───────────────┴──────────────────────────────────────────────────────────────┘
                                
                                
                                ┌───────────────┬──────────────────────────────────────────────────────────────┐
                                │ Moderate      │ json-schema is vulnerable to Prototype Pollution             │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Package       │ json-schema                                                  │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Dependency of │ iobroker.js-controller                                       │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Path          │ iobroker.js-controller > @iobroker/js-controller-adapter >   │
                                │               │ @iobroker/js-controller-common > request > http-signature >  │
                                │               │ jsprim > json-schema                                         │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ More info     │ https://github.com/advisories/GHSA-896r-f27r-55mw            │
                                └───────────────┴──────────────────────────────────────────────────────────────┘
                                
                                
                                ┌───────────────┬──────────────────────────────────────────────────────────────┐
                                │ Moderate      │ json-schema is vulnerable to Prototype Pollution             │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Package       │ json-schema                                                  │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Dependency of │ iobroker.js-controller                                       │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Path          │ iobroker.js-controller > @iobroker/db-objects-file >         │
                                │               │ @iobroker/db-base > @iobroker/js-controller-common > request │
                                │               │ > http-signature > jsprim > json-schema                      │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ More info     │ https://github.com/advisories/GHSA-896r-f27r-55mw            │
                                └───────────────┴──────────────────────────────────────────────────────────────┘
                                
                                
                                ┌───────────────┬──────────────────────────────────────────────────────────────┐
                                │ Moderate      │ json-schema is vulnerable to Prototype Pollution             │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Package       │ json-schema                                                  │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Dependency of │ iobroker.js-controller                                       │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Path          │ iobroker.js-controller > @iobroker/db-objects-jsonl >        │
                                │               │ @iobroker/db-objects-file > @iobroker/db-base >              │
                                │               │ @iobroker/js-controller-common > request > http-signature >  │
                                │               │ jsprim > json-schema                                         │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ More info     │ https://github.com/advisories/GHSA-896r-f27r-55mw            │
                                └───────────────┴──────────────────────────────────────────────────────────────┘
                                
                                
                                ┌───────────────┬──────────────────────────────────────────────────────────────┐
                                │ Moderate      │ json-schema is vulnerable to Prototype Pollution             │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Package       │ json-schema                                                  │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Dependency of │ iobroker.js-controller                                       │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Path          │ iobroker.js-controller > @iobroker/js-controller-adapter >   │
                                │               │ @iobroker/db-objects-jsonl > @iobroker/db-objects-file >     │
                                │               │ @iobroker/db-base > @iobroker/js-controller-common > request │
                                │               │ > http-signature > jsprim > json-schema                      │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ More info     │ https://github.com/advisories/GHSA-896r-f27r-55mw            │
                                └───────────────┴──────────────────────────────────────────────────────────────┘
                                
                                
                                ┌───────────────┬──────────────────────────────────────────────────────────────┐
                                │ Moderate      │ json-schema is vulnerable to Prototype Pollution             │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Package       │ json-schema                                                  │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Dependency of │ iobroker.js-controller                                       │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Path          │ iobroker.js-controller > @iobroker/js-controller-cli >       │
                                │               │ @iobroker/js-controller-common-db >                          │
                                │               │ @iobroker/db-objects-jsonl > @iobroker/db-objects-file >     │
                                │               │ @iobroker/db-base > @iobroker/js-controller-common > request │
                                │               │ > http-signature > jsprim > json-schema                      │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ More info     │ https://github.com/advisories/GHSA-896r-f27r-55mw            │
                                └───────────────┴──────────────────────────────────────────────────────────────┘
                                
                                
                                ┌───────────────┬──────────────────────────────────────────────────────────────┐
                                │ Moderate      │ json-schema is vulnerable to Prototype Pollution             │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Package       │ json-schema                                                  │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Dependency of │ iobroker.js-controller                                       │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Path          │ iobroker.js-controller > @iobroker/js-controller-cli >       │
                                │               │ @iobroker/js-controller-common-db >                          │
                                │               │ @iobroker/db-objects-jsonl > @iobroker/db-objects-file >     │
                                │               │ @iobroker/db-objects-redis > @iobroker/db-base >             │
                                │               │ @iobroker/js-controller-common > request > http-signature >  │
                                │               │ jsprim > json-schema                                         │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ More info     │ https://github.com/advisories/GHSA-896r-f27r-55mw            │
                                └───────────────┴──────────────────────────────────────────────────────────────┘
                                
                                
                                # Run  npm update simple-get --depth 5  to resolve 1 vulnerability
                                ┌───────────────┬──────────────────────────────────────────────────────────────┐
                                │ High          │ Exposure of Sensitive Information in simple-get              │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Package       │ simple-get                                                   │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Dependency of │ iobroker.javascript                                          │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Path          │ iobroker.javascript > serialport > @serialport/bindings >    │
                                │               │ prebuild-install > simple-get                                │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ More info     │ https://github.com/advisories/GHSA-wpg7-2c88-r8xv            │
                                └───────────────┴──────────────────────────────────────────────────────────────┘
                                
                                
                                ┌──────────────────────────────────────────────────────────────────────────────┐
                                │                                Manual Review                                 │
                                │            Some vulnerabilities require your attention to resolve            │
                                │                                                                              │
                                │         Visit https://go.npm.me/audit-guide for additional guidance          │
                                └──────────────────────────────────────────────────────────────────────────────┘
                                ┌───────────────┬──────────────────────────────────────────────────────────────┐
                                │ Low           │ Sensitive Data Exposure in put                               │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Package       │ put                                                          │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Patched in    │ No patch available                                           │
                                ├───────────────┼──────────────────────────────────────────────────────────────┤
                                │ Dependency of │ iobroker.modbus                                              │
                                ├───────────────┼────────────────────────────────────────────────
                                
                                found 43 vulnerabilities (7 low, 20 moderate, 13 high, 3 critical) in 579 scanned packages
                                 run `npm audit fix` to fix 15 of them.
                                 28 vulnerabilities require manual review. See the full report for details.
                                pi@iobroker-garage-gross:/opt/iobroker $
                                
                                

                                OliverIOO Offline
                                OliverIOO Offline
                                OliverIO
                                schrieb am zuletzt editiert von
                                #15

                                @wendy2702
                                dieser befehl ist nur für package owner gedacht um Art der sicherheitsprobleme und ggfs deren Behebungsmöglichkeiten zu identifizieren.
                                Da hier aber auch oft Sicherheitslücken in, nennen wir es mal tiefer gelegenen paketen stehen, ist das nicht so einfach.
                                oft umfasst die Behebung auch breaking changes. dh der nutzende muss auch etwas in seinem paket machen.
                                Wenn das dann in einem paket ist, das du nur über eine andere Abhängigkeit nutzt, dann kannst du da nur wenig tun, ausser dich nach einem anderen Paket/Fork umschauen welches aktualisiert wurde oder die gleiche Funktionalität hat und besser gepflegt ist.

                                Das ist ein Vorteil aber auch ein nachteil von NPM bzw den javascript Paketmanagern generell.
                                Du kannst zwar schnell Pakete in dein Projekt einbinden, musst aber genau schauen, welche dependencies jedes einzelne Paket nutzt und wie sicher und gepflegt die sind und das kann sich jederzeit ändern.

                                Meine Adapter und Widgets
                                TVProgram, SqueezeboxRPC, OpenLiga, RSSFeed, MyTime,, pi-hole2, vis-json-template, skiinfo, vis-mapwidgets, vis-2-widgets-rssfeed
                                Links im Profil

                                1 Antwort Letzte Antwort
                                0
                                • wendy2702W Offline
                                  wendy2702W Offline
                                  wendy2702
                                  schrieb am zuletzt editiert von
                                  #16

                                  MAcht es denn Sinn für diese im Audit benannten Adapter ein Issue zu öffnen um den Dev darauf hinzuweisen das es da was gibt oder ist das eher verschenkte Zeit ?

                                  Bitte keine Fragen per PN, die gehören ins Forum!

                                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                  OliverIOO 1 Antwort Letzte Antwort
                                  0
                                  • wendy2702W wendy2702

                                    MAcht es denn Sinn für diese im Audit benannten Adapter ein Issue zu öffnen um den Dev darauf hinzuweisen das es da was gibt oder ist das eher verschenkte Zeit ?

                                    OliverIOO Offline
                                    OliverIOO Offline
                                    OliverIO
                                    schrieb am zuletzt editiert von OliverIO
                                    #17

                                    @wendy2702 wenn das problem direkt an einer abhängigkeit des adapters hängt, dann ja.
                                    wenn es an einer Abhängigkeit an einer Abhängigkeit hängt dann nein. Erkennbar im audit-protokoll im Feld Dependency of

                                    Github zeigt dem Entwickler diese Dinge auch an, wenn man dependabot nutzt.

                                    so zb bei mytime
                                    9931f4da-820b-4bc2-b5b5-ccb39a0aee38-image.png

                                    Das sind bspw alles Probleme, die nur in den devDependencies hängen (parcel, gulp).
                                    Das betrifft die normale Installation eines Benutzers nicht, da diese Abhängigeiten gar nicht installiert werden.
                                    Irgendwann werde ich das machen. Muss dazu aber parcel upgraden und das bedeutet uU Änderungen an config, code, tests, etc.

                                    Meine Adapter und Widgets
                                    TVProgram, SqueezeboxRPC, OpenLiga, RSSFeed, MyTime,, pi-hole2, vis-json-template, skiinfo, vis-mapwidgets, vis-2-widgets-rssfeed
                                    Links im Profil

                                    OliverIOO 1 Antwort Letzte Antwort
                                    0
                                    • OliverIOO OliverIO

                                      @wendy2702 wenn das problem direkt an einer abhängigkeit des adapters hängt, dann ja.
                                      wenn es an einer Abhängigkeit an einer Abhängigkeit hängt dann nein. Erkennbar im audit-protokoll im Feld Dependency of

                                      Github zeigt dem Entwickler diese Dinge auch an, wenn man dependabot nutzt.

                                      so zb bei mytime
                                      9931f4da-820b-4bc2-b5b5-ccb39a0aee38-image.png

                                      Das sind bspw alles Probleme, die nur in den devDependencies hängen (parcel, gulp).
                                      Das betrifft die normale Installation eines Benutzers nicht, da diese Abhängigeiten gar nicht installiert werden.
                                      Irgendwann werde ich das machen. Muss dazu aber parcel upgraden und das bedeutet uU Änderungen an config, code, tests, etc.

                                      OliverIOO Offline
                                      OliverIOO Offline
                                      OliverIO
                                      schrieb am zuletzt editiert von OliverIO
                                      #18

                                      Ich konnte leider nicht das ganze Protokoll einfügen, was gar nicht so groß ist.
                                      Es kam eine Fehlermeldung "Payload too large"

                                      $ npm audit
                                      
                                                            === npm audit security report ===
                                      
                                      ┌───────────────────────────────────────────────────────────────────────────────
                                      │                                Manual Review                                 │
                                      │            Some vulnerabilities require your attention to resolve            │
                                      │                                                                              │
                                      │         Visit https://go.npm.me/audit-guide for additional guidance          │
                                      └───────────────────────────────────────────────────────────────────────────────
                                      ┌───────────────────────────────────────────────────────────────────────────────
                                      │ Moderate      │  Inefficient Regular Expression Complexity in                │
                                      │               │ chalk/ansi-regex                                             │
                                      ├───────────────────────────────────────────────────────────────────────────────
                                      │ Package       │ ansi-regex                                                   │
                                      ├───────────────────────────────────────────────────────────────────────────────
                                      │ Patched in    │ >=5.0.1                                                      │
                                      ├───────────────────────────────────────────────────────────────────────────────
                                      │ Dependency of │ parcel-bundler [dev]                                         │
                                      ├───────────────────────────────────────────────────────────────────────────────
                                      │ Path          │ parcel-bundler > @parcel/logger > ora > strip-ansi >         │
                                      │               │ ansi-regex                                                   │
                                      ├───────────────────────────────────────────────────────────────────────────────
                                      │ More info     │ https://github.com/advisories/GHSA-93q8-gq69-wqmw            │
                                      └───────────────────────────────────────────────────────────────────────────────
                                      
                                      found 25 vulnerabilities (2 low, 19 moderate, 4 high) in 1284 scanned packages
                                       25 vulnerabilities require manual review. See the full report for details.
                                      
                                      

                                      Meine Adapter und Widgets
                                      TVProgram, SqueezeboxRPC, OpenLiga, RSSFeed, MyTime,, pi-hole2, vis-json-template, skiinfo, vis-mapwidgets, vis-2-widgets-rssfeed
                                      Links im Profil

                                      wendy2702W 1 Antwort Letzte Antwort
                                      0
                                      • OliverIOO OliverIO

                                        Ich konnte leider nicht das ganze Protokoll einfügen, was gar nicht so groß ist.
                                        Es kam eine Fehlermeldung "Payload too large"

                                        $ npm audit
                                        
                                                              === npm audit security report ===
                                        
                                        ┌───────────────────────────────────────────────────────────────────────────────
                                        │                                Manual Review                                 │
                                        │            Some vulnerabilities require your attention to resolve            │
                                        │                                                                              │
                                        │         Visit https://go.npm.me/audit-guide for additional guidance          │
                                        └───────────────────────────────────────────────────────────────────────────────
                                        ┌───────────────────────────────────────────────────────────────────────────────
                                        │ Moderate      │  Inefficient Regular Expression Complexity in                │
                                        │               │ chalk/ansi-regex                                             │
                                        ├───────────────────────────────────────────────────────────────────────────────
                                        │ Package       │ ansi-regex                                                   │
                                        ├───────────────────────────────────────────────────────────────────────────────
                                        │ Patched in    │ >=5.0.1                                                      │
                                        ├───────────────────────────────────────────────────────────────────────────────
                                        │ Dependency of │ parcel-bundler [dev]                                         │
                                        ├───────────────────────────────────────────────────────────────────────────────
                                        │ Path          │ parcel-bundler > @parcel/logger > ora > strip-ansi >         │
                                        │               │ ansi-regex                                                   │
                                        ├───────────────────────────────────────────────────────────────────────────────
                                        │ More info     │ https://github.com/advisories/GHSA-93q8-gq69-wqmw            │
                                        └───────────────────────────────────────────────────────────────────────────────
                                        
                                        found 25 vulnerabilities (2 low, 19 moderate, 4 high) in 1284 scanned packages
                                         25 vulnerabilities require manual review. See the full report for details.
                                        
                                        

                                        wendy2702W Offline
                                        wendy2702W Offline
                                        wendy2702
                                        schrieb am zuletzt editiert von
                                        #19

                                        @oliverio Ja, das war bei mir auch zu lang.

                                        Bitte keine Fragen per PN, die gehören ins Forum!

                                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                        1 Antwort Letzte Antwort
                                        0

                                        Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                                        Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                                        Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                                        Registrieren Anmelden
                                        Antworten
                                        • In einem neuen Thema antworten
                                        Anmelden zum Antworten
                                        • Älteste zuerst
                                        • Neuste zuerst
                                        • Meiste Stimmen


                                        Support us

                                        ioBroker
                                        Community Adapters
                                        Donate
                                        FAQ Cloud / IOT
                                        HowTo: Node.js-Update
                                        HowTo: Backup/Restore
                                        Downloads
                                        BLOG

                                        483

                                        Online

                                        32.9k

                                        Benutzer

                                        83.0k

                                        Themen

                                        1.3m

                                        Beiträge
                                        Community
                                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                        ioBroker Community 2014-2025
                                        logo
                                        • Anmelden

                                        • Du hast noch kein Konto? Registrieren

                                        • Anmelden oder registrieren, um zu suchen
                                        • Erster Beitrag
                                          Letzter Beitrag
                                        0
                                        • Home
                                        • Aktuell
                                        • Tags
                                        • Ungelesen 0
                                        • Kategorien
                                        • Unreplied
                                        • Beliebt
                                        • GitHub
                                        • Docu
                                        • Hilfe