Skip to content

Critical error in msgpack exposes pillar data #33074

Closed

Description

@robnagler

Description of Issue/Question

When a critical error in msgpack is dumped to the log (#33073) it writes pillar information such as:

db_pass
oAgB7JZCbbHJC4H

Full output is here: https://gist.github.com/robnagler/f07954d2f95f48064dc756b509c81fce

Setup

Not quite sure.

Steps to Reproduce Issue

Cause an exception in msgpack (e.g. #33073)

Versions Report

Master:

Salt Version:
           Salt: 2016.3.0-488-g40b6dfa

Dependency Versions:
           cffi: Not Installed
       cherrypy: Not Installed
       dateutil: 2.4.2
          gitdb: Not Installed
      gitpython: Not Installed
          ioflo: Not Installed
         Jinja2: 2.8
        libgit2: Not Installed
        libnacl: Not Installed
       M2Crypto: Not Installed
           Mako: Not Installed
   msgpack-pure: Not Installed
 msgpack-python: 0.4.7
   mysql-python: Not Installed
      pycparser: Not Installed
       pycrypto: 2.6.1
         pygit2: Not Installed
         Python: 2.7.10 (default, Nov 14 2015, 01:41:47)
   python-gnupg: Not Installed
         PyYAML: 3.11
          PyZMQ: 15.0.0
           RAET: Not Installed
          smmap: Not Installed
        timelib: Not Installed
        Tornado: 4.3
            ZMQ: 4.1.2

System Versions:
           dist: fedora 21 Twenty One
        machine: x86_64
        release: 4.1.12-101.fc21.x86_64
         system: Linux
        version: Fedora 21 Twenty One

Minion:

Salt Version:
           Salt: 2016.3.0-501-g0ebeb58

Dependency Versions:
           cffi: Not Installed
       cherrypy: Not Installed
       dateutil: Not Installed
          gitdb: Not Installed
      gitpython: Not Installed
          ioflo: Not Installed
         Jinja2: 2.8
        libgit2: Not Installed
        libnacl: Not Installed
       M2Crypto: 0.21.1
           Mako: Not Installed
   msgpack-pure: Not Installed
 msgpack-python: 0.4.6
   mysql-python: Not Installed
      pycparser: Not Installed
       pycrypto: 2.6.1
         pygit2: Not Installed
         Python: 2.7.11 (default, Mar 31 2016, 20:46:51)
   python-gnupg: Not Installed
         PyYAML: 3.11
          PyZMQ: 14.7.0
           RAET: Not Installed
          smmap: Not Installed
        timelib: Not Installed
        Tornado: 4.3
            ZMQ: 4.1.2

System Versions:
           dist: fedora 23 Twenty Three
        machine: x86_64
        release: 4.2.3-300.fc23.x86_64
         system: Linux
        version: Fedora 23 Twenty Three

Activity

  1. added a commit that references this issue on May 5, 2016
    bf6a388
  2. added
    bug
    severity-medium
    fixed-pls-verify
    Core
    P2
    on May 5, 2016
  3. added this to the Approved milestone on May 5, 2016
  4. cachedout commented on May 5, 2016

    @cachedout
    Contributor

    Thanks, @robnagler

    I've addressed this in #33078

  5. added a commit that references this issue on May 6, 2016
    30edead
  6. added a commit that references this issue on May 12, 2016
    457d9dd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CoreP2bugfixed-pls-verifyseverity-medium

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions